@aeolus-fleet/gateway 0.33.0 → 0.34.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 (637) hide show
  1. package/README.md +12 -2
  2. package/dist/adapters/crypto/party-sign-in-seals.d.ts +3 -0
  3. package/dist/adapters/crypto/party-sign-in-seals.js +15 -0
  4. package/dist/adapters/crypto/party-sign-in-seals.js.map +1 -0
  5. package/dist/adapters/fleet/rest-fleet-door.js +2 -2
  6. package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
  7. package/dist/adapters/fleet/ship-names.d.ts +7 -0
  8. package/dist/adapters/fleet/ship-names.js +25 -0
  9. package/dist/adapters/fleet/ship-names.js.map +1 -0
  10. package/dist/adapters/http/party-sign-in-routes.d.ts +25 -0
  11. package/dist/adapters/http/party-sign-in-routes.js +45 -0
  12. package/dist/adapters/http/party-sign-in-routes.js.map +1 -0
  13. package/dist/adapters/http/slack-routes.d.ts +0 -13
  14. package/dist/adapters/http/slack-routes.js +19 -4
  15. package/dist/adapters/http/slack-routes.js.map +1 -1
  16. package/dist/adapters/mcp/mcp-servers.js +22 -4
  17. package/dist/adapters/mcp/mcp-servers.js.map +1 -1
  18. package/dist/adapters/oauth/authorization-servers.d.ts +2 -0
  19. package/dist/adapters/oauth/authorization-servers.js +127 -0
  20. package/dist/adapters/oauth/authorization-servers.js.map +1 -0
  21. package/dist/adapters/oauth/party-sign-ins.d.ts +2 -0
  22. package/dist/adapters/oauth/party-sign-ins.js +152 -0
  23. package/dist/adapters/oauth/party-sign-ins.js.map +1 -0
  24. package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
  25. package/dist/adapters/prisma/fleet-forgetter.js +2 -2
  26. package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
  27. package/dist/adapters/prisma/generated/browser.d.ts +10 -0
  28. package/dist/adapters/prisma/generated/client.d.ts +10 -0
  29. package/dist/adapters/prisma/generated/internal/class.d.ts +22 -0
  30. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  31. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  32. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +178 -1
  33. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +26 -1
  34. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  35. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +27 -0
  36. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +26 -1
  37. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  38. package/dist/adapters/prisma/generated/models/PartyGrant.d.ts +1276 -0
  39. package/dist/adapters/prisma/generated/models/PartyGrant.js +2 -0
  40. package/dist/adapters/prisma/generated/models/PartyGrant.js.map +1 -0
  41. package/dist/adapters/prisma/generated/models/PartySignInNotice.d.ts +1003 -0
  42. package/dist/adapters/prisma/generated/models/PartySignInNotice.js +2 -0
  43. package/dist/adapters/prisma/generated/models/PartySignInNotice.js.map +1 -0
  44. package/dist/adapters/prisma/generated/models/SlackEvent.d.ts +17 -14
  45. package/dist/adapters/prisma/generated/models.d.ts +2 -0
  46. package/dist/adapters/prisma/party-grants.d.ts +10 -0
  47. package/dist/adapters/prisma/party-grants.js +118 -0
  48. package/dist/adapters/prisma/party-grants.js.map +1 -0
  49. package/dist/adapters/prisma/party-store.js +21 -2
  50. package/dist/adapters/prisma/party-store.js.map +1 -1
  51. package/dist/adapters/prisma/sign-in-notices.d.ts +8 -0
  52. package/dist/adapters/prisma/sign-in-notices.js +22 -0
  53. package/dist/adapters/prisma/sign-in-notices.js.map +1 -0
  54. package/dist/adapters/prisma/slack-events.js +1 -1
  55. package/dist/adapters/prisma/slack-events.js.map +1 -1
  56. package/dist/adapters/prisma/slack-posts.js +0 -4
  57. package/dist/adapters/prisma/slack-posts.js.map +1 -1
  58. package/dist/adapters/slack/slack-messages.js +2 -2
  59. package/dist/adapters/slack/slack-messages.js.map +1 -1
  60. package/dist/adapters/trpc/router.d.ts +138 -10
  61. package/dist/adapters/trpc/router.js +147 -6
  62. package/dist/adapters/trpc/router.js.map +1 -1
  63. package/dist/app.d.ts +2 -0
  64. package/dist/app.js +82 -6
  65. package/dist/app.js.map +1 -1
  66. package/dist/core/connection/ports.d.ts +5 -0
  67. package/dist/core/mcp-out/grant-calls.d.ts +69 -0
  68. package/dist/core/mcp-out/grant-calls.js +98 -0
  69. package/dist/core/mcp-out/grant-calls.js.map +1 -0
  70. package/dist/core/mcp-out/hand-call.d.ts +6 -1
  71. package/dist/core/mcp-out/hand-call.js +23 -2
  72. package/dist/core/mcp-out/hand-call.js.map +1 -1
  73. package/dist/core/mcp-out/ports.d.ts +6 -2
  74. package/dist/core/mcp-out/state-party.d.ts +5 -2
  75. package/dist/core/mcp-out/state-party.js +7 -2
  76. package/dist/core/mcp-out/state-party.js.map +1 -1
  77. package/dist/core/parties/add-sign-in-server.d.ts +25 -0
  78. package/dist/core/parties/add-sign-in-server.js +70 -0
  79. package/dist/core/parties/add-sign-in-server.js.map +1 -0
  80. package/dist/core/parties/approve-party.d.ts +2 -2
  81. package/dist/core/parties/check-approving.d.ts +3 -3
  82. package/dist/core/parties/check-approving.js +2 -2
  83. package/dist/core/parties/check-approving.js.map +1 -1
  84. package/dist/core/parties/party.d.ts +3 -2
  85. package/dist/core/parties/party.js +4 -1
  86. package/dist/core/parties/party.js.map +1 -1
  87. package/dist/core/parties/ports.d.ts +49 -0
  88. package/dist/core/parties/read-party-tools.d.ts +5 -2
  89. package/dist/core/parties/read-party-tools.js +7 -2
  90. package/dist/core/parties/read-party-tools.js.map +1 -1
  91. package/dist/core/parties/retire-party.d.ts +5 -1
  92. package/dist/core/parties/retire-party.js +6 -1
  93. package/dist/core/parties/retire-party.js.map +1 -1
  94. package/dist/core/parties/shown-party.d.ts +2 -2
  95. package/dist/core/parties/sign-in-servers.d.ts +4 -0
  96. package/dist/core/parties/sign-in-servers.js +13 -0
  97. package/dist/core/parties/sign-in-servers.js.map +1 -0
  98. package/dist/core/parties/switch-tools.d.ts +3 -1
  99. package/dist/core/parties/switch-tools.js +5 -1
  100. package/dist/core/parties/switch-tools.js.map +1 -1
  101. package/dist/core/party-grants/approved-sign-in-party.d.ts +17 -0
  102. package/dist/core/party-grants/approved-sign-in-party.js +21 -0
  103. package/dist/core/party-grants/approved-sign-in-party.js.map +1 -0
  104. package/dist/core/party-grants/call-grant.d.ts +46 -0
  105. package/dist/core/party-grants/call-grant.js +30 -0
  106. package/dist/core/party-grants/call-grant.js.map +1 -0
  107. package/dist/core/party-grants/complete-party-sign-in.d.ts +52 -0
  108. package/dist/core/party-grants/complete-party-sign-in.js +95 -0
  109. package/dist/core/party-grants/complete-party-sign-in.js.map +1 -0
  110. package/dist/core/party-grants/end-account-grants.d.ts +18 -0
  111. package/dist/core/party-grants/end-account-grants.js +16 -0
  112. package/dist/core/party-grants/end-account-grants.js.map +1 -0
  113. package/dist/core/party-grants/end-grant.d.ts +23 -0
  114. package/dist/core/party-grants/end-grant.js +33 -0
  115. package/dist/core/party-grants/end-grant.js.map +1 -0
  116. package/dist/core/party-grants/end-party-grants.d.ts +19 -0
  117. package/dist/core/party-grants/end-party-grants.js +31 -0
  118. package/dist/core/party-grants/end-party-grants.js.map +1 -0
  119. package/dist/core/party-grants/end-retired-persons-grants.d.ts +19 -0
  120. package/dist/core/party-grants/end-retired-persons-grants.js +30 -0
  121. package/dist/core/party-grants/end-retired-persons-grants.js.map +1 -0
  122. package/dist/core/party-grants/keep-grants-alive.d.ts +18 -0
  123. package/dist/core/party-grants/keep-grants-alive.js +19 -0
  124. package/dist/core/party-grants/keep-grants-alive.js.map +1 -0
  125. package/dist/core/party-grants/list-grants.d.ts +30 -0
  126. package/dist/core/party-grants/list-grants.js +34 -0
  127. package/dist/core/party-grants/list-grants.js.map +1 -0
  128. package/dist/core/party-grants/listing-connection.d.ts +29 -0
  129. package/dist/core/party-grants/listing-connection.js +17 -0
  130. package/dist/core/party-grants/listing-connection.js.map +1 -0
  131. package/dist/core/party-grants/party-grant.d.ts +50 -0
  132. package/dist/core/party-grants/party-grant.js +26 -0
  133. package/dist/core/party-grants/party-grant.js.map +1 -0
  134. package/dist/core/party-grants/ports.d.ts +180 -0
  135. package/dist/core/party-grants/ports.js +2 -0
  136. package/dist/core/party-grants/ports.js.map +1 -0
  137. package/dist/core/party-grants/read-own-grant.d.ts +33 -0
  138. package/dist/core/party-grants/read-own-grant.js +23 -0
  139. package/dist/core/party-grants/read-own-grant.js.map +1 -0
  140. package/dist/core/party-grants/refresh-grant.d.ts +41 -0
  141. package/dist/core/party-grants/refresh-grant.js +58 -0
  142. package/dist/core/party-grants/refresh-grant.js.map +1 -0
  143. package/dist/core/party-grants/remove-grant.d.ts +21 -0
  144. package/dist/core/party-grants/remove-grant.js +25 -0
  145. package/dist/core/party-grants/remove-grant.js.map +1 -0
  146. package/dist/core/party-grants/remove-own-grant.d.ts +17 -0
  147. package/dist/core/party-grants/remove-own-grant.js +21 -0
  148. package/dist/core/party-grants/remove-own-grant.js.map +1 -0
  149. package/dist/core/party-grants/sign-in-party.d.ts +23 -0
  150. package/dist/core/party-grants/sign-in-party.js +22 -0
  151. package/dist/core/party-grants/sign-in-party.js.map +1 -0
  152. package/dist/core/party-grants/start-party-sign-in.d.ts +31 -0
  153. package/dist/core/party-grants/start-party-sign-in.js +31 -0
  154. package/dist/core/party-grants/start-party-sign-in.js.map +1 -0
  155. package/dist/core/party-grants/tell-sign-in-needed.d.ts +29 -0
  156. package/dist/core/party-grants/tell-sign-in-needed.js +27 -0
  157. package/dist/core/party-grants/tell-sign-in-needed.js.map +1 -0
  158. package/dist/core/shared/errors.d.ts +1 -1
  159. package/dist/core/shared/errors.js.map +1 -1
  160. package/dist/core/slack/answer-in-slack.d.ts +8 -3
  161. package/dist/core/slack/answer-in-slack.js +11 -3
  162. package/dist/core/slack/answer-in-slack.js.map +1 -1
  163. package/dist/core/slack/kept-slack-event.d.ts +5 -3
  164. package/dist/core/slack/kept-slack-event.js.map +1 -1
  165. package/dist/core/slack/ports.d.ts +7 -8
  166. package/dist/core/slack/send-slack-events.d.ts +6 -3
  167. package/dist/core/slack/send-slack-events.js +32 -4
  168. package/dist/core/slack/send-slack-events.js.map +1 -1
  169. package/dist/core/slack/show-in-slack.js +2 -2
  170. package/dist/core/slack/show-in-slack.js.map +1 -1
  171. package/dist/core/slack/slack-post.d.ts +9 -0
  172. package/dist/core/slack/slack-post.js +8 -0
  173. package/dist/core/slack/slack-post.js.map +1 -1
  174. package/dist/core/slack/take-slack-event.d.ts +4 -2
  175. package/dist/core/slack/take-slack-event.js +8 -2
  176. package/dist/core/slack/take-slack-event.js.map +1 -1
  177. package/dist/core/vault/credential.d.ts +34 -0
  178. package/dist/grant-worker.d.ts +20 -0
  179. package/dist/grant-worker.js +24 -0
  180. package/dist/grant-worker.js.map +1 -0
  181. package/package.json +1 -1
  182. package/src/adapters/prisma/migrations/20261028230000_party_grants/migration.sql +18 -0
  183. package/src/adapters/prisma/migrations/20261029080000_party_sign_in_notices/migration.sql +10 -0
  184. package/src/adapters/prisma/migrations/20261029120000_party_grants_lost/migration.sql +3 -0
  185. package/src/adapters/prisma/migrations/20261029130000_party_grants_refreshed/migration.sql +6 -0
  186. package/src/adapters/prisma/migrations/20261030090000_party_grants_of_account/migration.sql +2 -0
  187. package/src/adapters/prisma/migrations/20261030100000_slack_events_unmatched_answers/migration.sql +2 -0
  188. package/src/adapters/prisma/schema.prisma +46 -1
  189. package/web/.next/BUILD_ID +1 -1
  190. package/web/.next/app-path-routes-manifest.json +3 -1
  191. package/web/.next/build-manifest.json +3 -3
  192. package/web/.next/diagnostics/route-bundle-stats.json +55 -55
  193. package/web/.next/fallback-build-manifest.json +3 -3
  194. package/web/.next/prerender-manifest.json +67 -3
  195. package/web/.next/routes-manifest.json +12 -0
  196. package/web/.next/server/app/(console)/gateway-off/page/server-reference-manifest.json +1 -1
  197. package/web/.next/server/app/(console)/gateway-off/page.js +6 -6
  198. package/web/.next/server/app/(console)/gateway-off/page.js.nft.json +1 -1
  199. package/web/.next/server/app/(console)/gateway-off/page_client-reference-manifest.js +1 -1
  200. package/web/.next/server/app/(console)/meetings/[meetingId]/page/server-reference-manifest.json +3 -3
  201. package/web/.next/server/app/(console)/meetings/[meetingId]/page.js +6 -6
  202. package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.nft.json +1 -1
  203. package/web/.next/server/app/(console)/meetings/[meetingId]/page_client-reference-manifest.js +1 -1
  204. package/web/.next/server/app/(console)/outside-parties/[name]/change/page/server-reference-manifest.json +49 -9
  205. package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js +6 -6
  206. package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js.nft.json +1 -1
  207. package/web/.next/server/app/(console)/outside-parties/[name]/change/page_client-reference-manifest.js +1 -1
  208. package/web/.next/server/app/(console)/outside-parties/[name]/page/server-reference-manifest.json +44 -4
  209. package/web/.next/server/app/(console)/outside-parties/[name]/page.js +7 -7
  210. package/web/.next/server/app/(console)/outside-parties/[name]/page.js.nft.json +1 -1
  211. package/web/.next/server/app/(console)/outside-parties/[name]/page_client-reference-manifest.js +1 -1
  212. package/web/.next/server/app/(console)/outside-parties/[name]/retire/page/server-reference-manifest.json +49 -9
  213. package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js +6 -6
  214. package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js.nft.json +1 -1
  215. package/web/.next/server/app/(console)/outside-parties/[name]/retire/page_client-reference-manifest.js +1 -1
  216. package/web/.next/server/app/(console)/outside-parties/add/page/server-reference-manifest.json +46 -6
  217. package/web/.next/server/app/(console)/outside-parties/add/page.js +8 -7
  218. package/web/.next/server/app/(console)/outside-parties/add/page.js.nft.json +1 -1
  219. package/web/.next/server/app/(console)/outside-parties/add/page_client-reference-manifest.js +1 -1
  220. package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page/server-reference-manifest.json +2 -2
  221. package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js +7 -7
  222. package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js.nft.json +1 -1
  223. package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page_client-reference-manifest.js +1 -1
  224. package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page/server-reference-manifest.json +2 -2
  225. package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js +6 -6
  226. package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js.nft.json +1 -1
  227. package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page_client-reference-manifest.js +1 -1
  228. package/web/.next/server/app/(console)/outside-parties/page/server-reference-manifest.json +2 -2
  229. package/web/.next/server/app/(console)/outside-parties/page.js +6 -6
  230. package/web/.next/server/app/(console)/outside-parties/page.js.nft.json +1 -1
  231. package/web/.next/server/app/(console)/outside-parties/page_client-reference-manifest.js +1 -1
  232. package/web/.next/server/app/(console)/overview/changes/route.js +2 -1
  233. package/web/.next/server/app/(console)/overview/changes/route.js.nft.json +1 -1
  234. package/web/.next/server/app/(console)/overview/focus/route.js +2 -1
  235. package/web/.next/server/app/(console)/overview/focus/route.js.nft.json +1 -1
  236. package/web/.next/server/app/(console)/overview/page/server-reference-manifest.json +9 -9
  237. package/web/.next/server/app/(console)/overview/page.js +6 -6
  238. package/web/.next/server/app/(console)/overview/page.js.nft.json +1 -1
  239. package/web/.next/server/app/(console)/overview/page_client-reference-manifest.js +1 -1
  240. package/web/.next/server/app/(console)/overview/requests/[requestId]/page/server-reference-manifest.json +2 -2
  241. package/web/.next/server/app/(console)/overview/requests/[requestId]/page.js +5 -5
  242. package/web/.next/server/app/(console)/overview/requests/[requestId]/page.js.nft.json +1 -1
  243. package/web/.next/server/app/(console)/overview/requests/[requestId]/page_client-reference-manifest.js +1 -1
  244. package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +8 -8
  245. package/web/.next/server/app/(console)/parties/page.js +6 -6
  246. package/web/.next/server/app/(console)/parties/page.js.nft.json +1 -1
  247. package/web/.next/server/app/(console)/parties/page_client-reference-manifest.js +1 -1
  248. package/web/.next/server/app/(console)/sign-in/failed/page/server-reference-manifest.json +1 -1
  249. package/web/.next/server/app/(console)/sign-in/failed/page.js +6 -6
  250. package/web/.next/server/app/(console)/sign-in/failed/page.js.nft.json +1 -1
  251. package/web/.next/server/app/(console)/sign-in/failed/page_client-reference-manifest.js +1 -1
  252. package/web/.next/server/app/(console)/slack/disconnect/page/server-reference-manifest.json +11 -11
  253. package/web/.next/server/app/(console)/slack/disconnect/page.js +5 -5
  254. package/web/.next/server/app/(console)/slack/disconnect/page.js.nft.json +1 -1
  255. package/web/.next/server/app/(console)/slack/disconnect/page_client-reference-manifest.js +1 -1
  256. package/web/.next/server/app/(console)/slack/expose/page/server-reference-manifest.json +11 -11
  257. package/web/.next/server/app/(console)/slack/expose/page.js +5 -5
  258. package/web/.next/server/app/(console)/slack/expose/page.js.nft.json +1 -1
  259. package/web/.next/server/app/(console)/slack/expose/page_client-reference-manifest.js +1 -1
  260. package/web/.next/server/app/(console)/slack/link/route.js +2 -1
  261. package/web/.next/server/app/(console)/slack/link/route.js.nft.json +1 -1
  262. package/web/.next/server/app/(console)/slack/page/server-reference-manifest.json +11 -11
  263. package/web/.next/server/app/(console)/slack/page.js +5 -5
  264. package/web/.next/server/app/(console)/slack/page.js.nft.json +1 -1
  265. package/web/.next/server/app/(console)/slack/page_client-reference-manifest.js +1 -1
  266. package/web/.next/server/app/(console)/slack/remove/page/server-reference-manifest.json +11 -11
  267. package/web/.next/server/app/(console)/slack/remove/page.js +5 -5
  268. package/web/.next/server/app/(console)/slack/remove/page.js.nft.json +1 -1
  269. package/web/.next/server/app/(console)/slack/remove/page_client-reference-manifest.js +1 -1
  270. package/web/.next/server/app/_global-error.html +1 -1
  271. package/web/.next/server/app/_global-error.rsc +1 -1
  272. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  273. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  274. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  275. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  276. package/web/.next/server/app/_not-found/page.js +6 -6
  277. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  278. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  279. package/web/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
  280. package/web/.next/server/app/apple-icon.png/route/build-manifest.json +12 -0
  281. package/web/.next/server/app/apple-icon.png/route.js +8 -0
  282. package/web/.next/server/app/apple-icon.png/route.js.map +5 -0
  283. package/web/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
  284. package/web/.next/server/app/apple-icon.png.body +0 -0
  285. package/web/.next/server/app/apple-icon.png.meta +1 -0
  286. package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
  287. package/web/.next/server/app/authorize/failed/page.js +5 -5
  288. package/web/.next/server/app/authorize/failed/page.js.nft.json +1 -1
  289. package/web/.next/server/app/authorize/failed/page_client-reference-manifest.js +1 -1
  290. package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
  291. package/web/.next/server/app/authorize/pick/page.js +4 -4
  292. package/web/.next/server/app/authorize/pick/page.js.nft.json +1 -1
  293. package/web/.next/server/app/authorize/pick/page_client-reference-manifest.js +1 -1
  294. package/web/.next/server/app/authorize/waiting/approval/page/server-reference-manifest.json +1 -1
  295. package/web/.next/server/app/authorize/waiting/approval/page.js +6 -6
  296. package/web/.next/server/app/authorize/waiting/approval/page.js.nft.json +1 -1
  297. package/web/.next/server/app/authorize/waiting/approval/page_client-reference-manifest.js +1 -1
  298. package/web/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
  299. package/web/.next/server/app/icon.svg/route/build-manifest.json +12 -0
  300. package/web/.next/server/app/icon.svg/route.js +8 -0
  301. package/web/.next/server/app/icon.svg/route.js.map +5 -0
  302. package/web/.next/server/app/icon.svg/route.js.nft.json +1 -0
  303. package/web/.next/server/app/icon.svg.body +19 -0
  304. package/web/.next/server/app/icon.svg.meta +1 -0
  305. package/web/.next/server/app-paths-manifest.json +3 -1
  306. package/web/.next/server/chunks/[root-of-the-server]__1j0sdz18lzulo._.js +315 -0
  307. package/web/.next/server/chunks/[root-of-the-server]__1j0sdz18lzulo._.js.map +1 -0
  308. package/web/.next/server/chunks/[root-of-the-server]__1o2xxi_001xql._.js +315 -0
  309. package/web/.next/server/chunks/[root-of-the-server]__1o2xxi_001xql._.js.map +1 -0
  310. package/web/.next/server/chunks/_0_um96p6psnqx._.js +57 -0
  311. package/web/.next/server/chunks/_0_um96p6psnqx._.js.map +1 -0
  312. package/web/.next/server/chunks/_0xw0b7avhvg75._.js +3 -0
  313. package/web/.next/server/chunks/_0xw0b7avhvg75._.js.map +1 -0
  314. package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js +3 -0
  315. package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js.map +1 -0
  316. package/web/.next/server/chunks/_1xf83h9norhws._.js +57 -0
  317. package/web/.next/server/chunks/_1xf83h9norhws._.js.map +1 -0
  318. package/web/.next/server/chunks/node_modules_next_1zdbrneapig6o._.js +10 -0
  319. package/web/.next/server/chunks/node_modules_next_1zdbrneapig6o._.js.map +1 -0
  320. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js +1 -1
  321. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js.map +1 -1
  322. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js +1 -1
  323. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js.map +1 -1
  324. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js +1 -1
  325. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js.map +1 -1
  326. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js +1 -1
  327. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js.map +1 -1
  328. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js +1 -1
  329. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js.map +1 -1
  330. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js +1 -1
  331. package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js.map +1 -1
  332. package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js +1 -1
  333. package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js.map +1 -1
  334. package/web/.next/server/chunks/ssr/[root-of-the-server]__03w-pkh4_8jv_._.js +3 -0
  335. package/web/.next/server/chunks/ssr/[root-of-the-server]__03w-pkh4_8jv_._.js.map +1 -0
  336. package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js +3 -0
  337. package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js.map +1 -0
  338. package/web/.next/server/chunks/ssr/{[root-of-the-server]__14w0fxvc_of17._.js → [root-of-the-server]__07ba2bfe20c_p._.js} +2 -2
  339. package/web/.next/server/chunks/ssr/[root-of-the-server]__07ba2bfe20c_p._.js.map +1 -0
  340. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a6a1yc_ac-qt._.js +4 -0
  341. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a6a1yc_ac-qt._.js.map +1 -0
  342. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a8db18tyk__5._.js +1 -1
  343. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a8db18tyk__5._.js.map +1 -1
  344. package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js +3 -0
  345. package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js.map +1 -0
  346. package/web/.next/server/chunks/ssr/[root-of-the-server]__0fz0817_b9ljl._.js +3 -0
  347. package/web/.next/server/chunks/ssr/[root-of-the-server]__0fz0817_b9ljl._.js.map +1 -0
  348. package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js +3 -0
  349. package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js.map +1 -0
  350. package/web/.next/server/chunks/ssr/[root-of-the-server]__0icm7kndx480o._.js +1 -1
  351. package/web/.next/server/chunks/ssr/[root-of-the-server]__0icm7kndx480o._.js.map +1 -1
  352. package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js +1 -1
  353. package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js.map +1 -1
  354. package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js +3 -0
  355. package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js.map +1 -0
  356. package/web/.next/server/chunks/ssr/[root-of-the-server]__0pj38h6qumggc._.js +3 -0
  357. package/web/.next/server/chunks/ssr/[root-of-the-server]__0pj38h6qumggc._.js.map +1 -0
  358. package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js +1 -1
  359. package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js.map +1 -1
  360. package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js +1 -1
  361. package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js.map +1 -1
  362. package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js +1 -1
  363. package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js.map +1 -1
  364. package/web/.next/server/chunks/ssr/[root-of-the-server]__1aojrh3-9jh9r._.js +3 -0
  365. package/web/.next/server/chunks/ssr/[root-of-the-server]__1aojrh3-9jh9r._.js.map +1 -0
  366. package/web/.next/server/chunks/ssr/{[root-of-the-server]__1w5swo8gmjyx6._.js → [root-of-the-server]__1kynqd8xcwg2b._.js} +2 -2
  367. package/web/.next/server/chunks/ssr/[root-of-the-server]__1kynqd8xcwg2b._.js.map +1 -0
  368. package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js +3 -0
  369. package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js.map +1 -0
  370. package/web/.next/server/chunks/ssr/{[root-of-the-server]__160zc0ja_jjnu._.js → [root-of-the-server]__1q14l5_4hp9h3._.js} +2 -2
  371. package/web/.next/server/chunks/ssr/[root-of-the-server]__1q14l5_4hp9h3._.js.map +1 -0
  372. package/web/.next/server/chunks/ssr/[root-of-the-server]__1qnls-4cj-7oh._.js +3 -0
  373. package/web/.next/server/chunks/ssr/[root-of-the-server]__1qnls-4cj-7oh._.js.map +1 -0
  374. package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js +1 -1
  375. package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js.map +1 -1
  376. package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js +3 -0
  377. package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js.map +1 -0
  378. package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js +3 -0
  379. package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js.map +1 -0
  380. package/web/.next/server/chunks/ssr/[root-of-the-server]__1zlq3zji9v53h._.js +3 -0
  381. package/web/.next/server/chunks/ssr/[root-of-the-server]__1zlq3zji9v53h._.js.map +1 -0
  382. package/web/.next/server/chunks/ssr/_0-boiqan2j4tr._.js +3 -0
  383. package/web/.next/server/chunks/ssr/{_0wukvn3-ht3ps._.js.map → _0-boiqan2j4tr._.js.map} +1 -1
  384. package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js +1 -1
  385. package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js.map +1 -1
  386. package/web/.next/server/chunks/ssr/_03lk54yp-yhw3._.js +1 -1
  387. package/web/.next/server/chunks/ssr/_03lk54yp-yhw3._.js.map +1 -1
  388. package/web/.next/server/chunks/ssr/_0bizyb21i2sl8._.js +3 -0
  389. package/web/.next/server/chunks/ssr/{_00dg5cvqofspn._.js.map → _0bizyb21i2sl8._.js.map} +1 -1
  390. package/web/.next/server/chunks/ssr/_0eu-76mbv16oa._.js +3 -0
  391. package/web/.next/server/chunks/ssr/_0eu-76mbv16oa._.js.map +1 -0
  392. package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js +1 -1
  393. package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js.map +1 -1
  394. package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js +1 -1
  395. package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js.map +1 -1
  396. package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js +1 -1
  397. package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js.map +1 -1
  398. package/web/.next/server/chunks/ssr/_1_wav28san6dm._.js +1 -1
  399. package/web/.next/server/chunks/ssr/_1cnvrfjlqx00k._.js +3 -0
  400. package/web/.next/server/chunks/ssr/_1cnvrfjlqx00k._.js.map +1 -0
  401. package/web/.next/server/chunks/ssr/_1e2o809f0ekry._.js +1 -1
  402. package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js +1 -1
  403. package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js.map +1 -1
  404. package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js +1 -1
  405. package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js.map +1 -1
  406. package/web/.next/server/chunks/ssr/_1yqu7dcxs2-so._.js +3 -0
  407. package/web/.next/server/chunks/ssr/_1yqu7dcxs2-so._.js.map +1 -0
  408. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00i8qu9x65r6w.js +3 -0
  409. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00i8qu9x65r6w.js.map +1 -0
  410. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_045k03anc7fhh.js +3 -0
  411. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_045k03anc7fhh.js.map +1 -0
  412. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a3qpq0qt_bi4.js +3 -0
  413. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a3qpq0qt_bi4.js.map +1 -0
  414. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tpm7qi6un9x2.js +3 -0
  415. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tpm7qi6un9x2.js.map +1 -0
  416. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uyk6p-2ofqw3.js +3 -0
  417. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uyk6p-2ofqw3.js.map +1 -0
  418. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0w8e__21f7qvg.js +3 -0
  419. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0w8e__21f7qvg.js.map +1 -0
  420. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ynno0usi0bwx.js +3 -0
  421. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ynno0usi0bwx.js.map +1 -0
  422. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0za9__u5ytp2s.js +3 -0
  423. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0za9__u5ytp2s.js.map +1 -0
  424. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0zyzdu1detzlm.js +3 -0
  425. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0zyzdu1detzlm.js.map +1 -0
  426. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11t1sej48_ec4.js +3 -0
  427. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11t1sej48_ec4.js.map +1 -0
  428. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js +3 -0
  429. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js.map +1 -0
  430. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18uz1icr303zj.js +3 -0
  431. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18uz1icr303zj.js.map +1 -0
  432. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19_qkbe8796m6.js +3 -0
  433. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19_qkbe8796m6.js.map +1 -0
  434. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19uoij8es9z19.js +3 -0
  435. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19uoij8es9z19.js.map +1 -0
  436. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1auju5fur8z6x.js +3 -0
  437. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1auju5fur8z6x.js.map +1 -0
  438. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7_m2ii9lash.js +3 -0
  439. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7_m2ii9lash.js.map +1 -0
  440. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1chb4qpzj_l1t.js +3 -0
  441. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1chb4qpzj_l1t.js.map +1 -0
  442. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qa52eylhjmki.js +3 -0
  443. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qa52eylhjmki.js.map +1 -0
  444. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qw59-auzd_zx.js +3 -0
  445. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qw59-auzd_zx.js.map +1 -0
  446. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xzq9xckazj3u.js +3 -0
  447. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xzq9xckazj3u.js.map +1 -0
  448. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yis85alzg6hk.js +3 -0
  449. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yis85alzg6hk.js.map +1 -0
  450. package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js +1 -1
  451. package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js.map +1 -1
  452. package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js +1 -1
  453. package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js.map +1 -1
  454. package/web/.next/server/chunks/ssr/web_features_077oo3gzcibvf._.js +3 -0
  455. package/web/.next/server/chunks/ssr/web_features_077oo3gzcibvf._.js.map +1 -0
  456. package/web/.next/server/chunks/ssr/web_features_08yw0utky5j17._.js +3 -0
  457. package/web/.next/server/chunks/ssr/{web_features_19v3mlx8c_h1-._.js.map → web_features_08yw0utky5j17._.js.map} +1 -1
  458. package/web/.next/server/chunks/ssr/web_features_0d48z2epb6oie._.js +3 -0
  459. package/web/.next/server/chunks/ssr/web_features_0d48z2epb6oie._.js.map +1 -0
  460. package/web/.next/server/chunks/ssr/web_features_0f6r-m-dq36vf._.js +3 -0
  461. package/web/.next/server/chunks/ssr/web_features_0f6r-m-dq36vf._.js.map +1 -0
  462. package/web/.next/server/chunks/ssr/web_features_0mi9a9pdzkdji._.js +3 -0
  463. package/web/.next/server/chunks/ssr/{web_features_1rwkgka1xffb1._.js.map → web_features_0mi9a9pdzkdji._.js.map} +1 -1
  464. package/web/.next/server/chunks/ssr/web_features_0rd6357w-eo50._.js +1 -1
  465. package/web/.next/server/chunks/ssr/web_features_0rd6357w-eo50._.js.map +1 -1
  466. package/web/.next/server/chunks/ssr/web_features_19r68thirqv1n._.js +3 -0
  467. package/web/.next/server/chunks/ssr/web_features_19r68thirqv1n._.js.map +1 -0
  468. package/web/.next/server/chunks/ssr/web_features_1utnezwv0xr-l._.js +3 -0
  469. package/web/.next/server/chunks/ssr/web_features_1utnezwv0xr-l._.js.map +1 -0
  470. package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js +1 -1
  471. package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js.map +1 -1
  472. package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js +1 -1
  473. package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js.map +1 -1
  474. package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js +1 -1
  475. package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js.map +1 -1
  476. package/web/.next/server/chunks/ssr/{web_features_forms_1d1jyea2jni9o._.js → web_features_forms_1muc8tmsxjj_k._.js} +2 -2
  477. package/web/.next/server/chunks/ssr/{web_features_forms_1d1jyea2jni9o._.js.map → web_features_forms_1muc8tmsxjj_k._.js.map} +1 -1
  478. package/web/.next/server/chunks/ssr/web_features_forms_ui_credential-fields_tsx_0l-w19zg-7x4b._.js +1 -1
  479. package/web/.next/server/chunks/ssr/web_features_forms_ui_credential-fields_tsx_0l-w19zg-7x4b._.js.map +1 -1
  480. package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.js +1 -1
  481. package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.js.map +1 -1
  482. package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js +1 -1
  483. package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js.map +1 -1
  484. package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js +1 -1
  485. package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js.map +1 -1
  486. package/web/.next/server/chunks/ssr/web_features_outside-party_1-lre9nfakki7._.js +3 -0
  487. package/web/.next/server/chunks/ssr/web_features_outside-party_1-lre9nfakki7._.js.map +1 -0
  488. package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js +1 -1
  489. package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js.map +1 -1
  490. package/web/.next/server/chunks/ssr/web_features_overview_144fx4a-r9_wn._.js +3 -0
  491. package/web/.next/server/chunks/ssr/web_features_overview_144fx4a-r9_wn._.js.map +1 -0
  492. package/web/.next/server/chunks/ssr/web_features_overview_hooks_overview-actions_ts_0-wrat07d1y5g._.js +1 -1
  493. package/web/.next/server/chunks/ssr/web_features_overview_state_00l0wkgvv9y6j._.js +1 -1
  494. package/web/.next/server/chunks/ssr/web_features_overview_state_00l0wkgvv9y6j._.js.map +1 -1
  495. package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js +1 -1
  496. package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js.map +1 -1
  497. package/web/.next/server/chunks/ssr/web_features_parties_actions_ts_0r-tbfsig2ty-._.js +1 -1
  498. package/web/.next/server/chunks/ssr/web_features_slack_actions_ts_1l3yg9vl20_vu._.js +1 -1
  499. package/web/.next/server/chunks/web__next-internal_server_app_apple-icon_png_route_actions_1yyo-ix0n2rsy.js +3 -0
  500. package/web/.next/server/chunks/web__next-internal_server_app_apple-icon_png_route_actions_1yyo-ix0n2rsy.js.map +1 -0
  501. package/web/.next/server/chunks/web__next-internal_server_app_icon_svg_route_actions_0xhoz0ftyz5p3.js +3 -0
  502. package/web/.next/server/chunks/web__next-internal_server_app_icon_svg_route_actions_0xhoz0ftyz5p3.js.map +1 -0
  503. package/web/.next/server/middleware-build-manifest.js +3 -3
  504. package/web/.next/server/pages/500.html +1 -1
  505. package/web/.next/server/preview-props.json +3 -3
  506. package/web/.next/server/server-reference-manifest.js +1 -1
  507. package/web/.next/server/server-reference-manifest.json +130 -42
  508. package/web/.next/static/chunks/015ume9uk4hla.js +1 -0
  509. package/web/.next/static/chunks/{3d_sjtxh_vkr6.js → 07j7jnfe13wx6.js} +1 -1
  510. package/web/.next/static/chunks/0ji7rkz0ll9gh.js +1 -0
  511. package/web/.next/static/chunks/{3dhy3jady0w6a.js → 0p_kl57bddsiy.js} +1 -1
  512. package/web/.next/static/chunks/{3efghx8whwnok.js → 0psup8zn8e6k5.js} +1 -1
  513. package/web/.next/static/chunks/0vlawcs6_kjs1.js +1 -0
  514. package/web/.next/static/chunks/1s8b8jpg4jai9.js +1 -0
  515. package/web/.next/static/chunks/20t1nmdiq805b.js +1 -0
  516. package/web/.next/static/chunks/26vlpatu47xtw.css +3 -0
  517. package/web/.next/static/chunks/2gghdkr64z9f9.js +1 -0
  518. package/web/.next/static/chunks/{3rbzp0tdc1te-.js → 2s_dov6h7kus5.js} +1 -1
  519. package/web/.next/static/chunks/{1jvae6c-4jwji.js → 2x86i673xcv4t.js} +1 -1
  520. package/web/.next/static/chunks/{1msggkwsn7vyq.js → 31-hltzmw_9fi.js} +1 -1
  521. package/web/.next/static/chunks/35bmc8wm29tr6.js +1 -0
  522. package/web/.next/static/chunks/3rxg2mdhxd6yt.js +1 -0
  523. package/web/.next/static/chunks/42cpzi5s1o44m.js +1 -0
  524. package/web/.next/static/media/apple-icon.3jccaq3p5-lh-.png +0 -0
  525. package/web/.next/static/media/icon.0h5hy2etdmq_n.svg +19 -0
  526. package/web/.next/trace +1 -1
  527. package/web/.next/trace-build +1 -1
  528. package/web/.next/server/chunks/[root-of-the-server]__01ghdzznyfucm._.js +0 -369
  529. package/web/.next/server/chunks/[root-of-the-server]__01ghdzznyfucm._.js.map +0 -1
  530. package/web/.next/server/chunks/[root-of-the-server]__0mbwomk4pjrl7._.js +0 -369
  531. package/web/.next/server/chunks/[root-of-the-server]__0mbwomk4pjrl7._.js.map +0 -1
  532. package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js +0 -3
  533. package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js.map +0 -1
  534. package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.js +0 -3
  535. package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.js.map +0 -1
  536. package/web/.next/server/chunks/ssr/[root-of-the-server]__04e53giy2-2tm._.js +0 -3
  537. package/web/.next/server/chunks/ssr/[root-of-the-server]__04e53giy2-2tm._.js.map +0 -1
  538. package/web/.next/server/chunks/ssr/[root-of-the-server]__07udzu2zwg_74._.js +0 -3
  539. package/web/.next/server/chunks/ssr/[root-of-the-server]__07udzu2zwg_74._.js.map +0 -1
  540. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a68v9ynev4q6._.js +0 -3
  541. package/web/.next/server/chunks/ssr/[root-of-the-server]__0a68v9ynev4q6._.js.map +0 -1
  542. package/web/.next/server/chunks/ssr/[root-of-the-server]__0e59elwbtqr-6._.js +0 -3
  543. package/web/.next/server/chunks/ssr/[root-of-the-server]__0e59elwbtqr-6._.js.map +0 -1
  544. package/web/.next/server/chunks/ssr/[root-of-the-server]__0kb1gl5t8kz4l._.js +0 -4
  545. package/web/.next/server/chunks/ssr/[root-of-the-server]__0kb1gl5t8kz4l._.js.map +0 -1
  546. package/web/.next/server/chunks/ssr/[root-of-the-server]__0l2_dk9d4o01n._.js +0 -3
  547. package/web/.next/server/chunks/ssr/[root-of-the-server]__0l2_dk9d4o01n._.js.map +0 -1
  548. package/web/.next/server/chunks/ssr/[root-of-the-server]__0n2us07jk-78w._.js +0 -4
  549. package/web/.next/server/chunks/ssr/[root-of-the-server]__0n2us07jk-78w._.js.map +0 -1
  550. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rr5u24i9tjyc._.js +0 -3
  551. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rr5u24i9tjyc._.js.map +0 -1
  552. package/web/.next/server/chunks/ssr/[root-of-the-server]__14w0fxvc_of17._.js.map +0 -1
  553. package/web/.next/server/chunks/ssr/[root-of-the-server]__160zc0ja_jjnu._.js.map +0 -1
  554. package/web/.next/server/chunks/ssr/[root-of-the-server]__1dc6okf5os70a._.js +0 -3
  555. package/web/.next/server/chunks/ssr/[root-of-the-server]__1dc6okf5os70a._.js.map +0 -1
  556. package/web/.next/server/chunks/ssr/[root-of-the-server]__1hfashtn1ee82._.js +0 -3
  557. package/web/.next/server/chunks/ssr/[root-of-the-server]__1hfashtn1ee82._.js.map +0 -1
  558. package/web/.next/server/chunks/ssr/[root-of-the-server]__1n_sq_58wdluh._.js +0 -3
  559. package/web/.next/server/chunks/ssr/[root-of-the-server]__1n_sq_58wdluh._.js.map +0 -1
  560. package/web/.next/server/chunks/ssr/[root-of-the-server]__1w5swo8gmjyx6._.js.map +0 -1
  561. package/web/.next/server/chunks/ssr/_00dg5cvqofspn._.js +0 -3
  562. package/web/.next/server/chunks/ssr/_0_kakdt7lb6z-._.js +0 -3
  563. package/web/.next/server/chunks/ssr/_0_kakdt7lb6z-._.js.map +0 -1
  564. package/web/.next/server/chunks/ssr/_0wukvn3-ht3ps._.js +0 -3
  565. package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js +0 -3
  566. package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js.map +0 -1
  567. package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js +0 -3
  568. package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js.map +0 -1
  569. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_06etuymo2azrg.js +0 -3
  570. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_06etuymo2azrg.js.map +0 -1
  571. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08lcy-jnk5o43.js +0 -3
  572. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08lcy-jnk5o43.js.map +0 -1
  573. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bnypafopxsfl.js +0 -3
  574. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bnypafopxsfl.js.map +0 -1
  575. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0e8cobt3o_8ur.js +0 -3
  576. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0e8cobt3o_8ur.js.map +0 -1
  577. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0gzed-epom5si.js +0 -3
  578. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0gzed-epom5si.js.map +0 -1
  579. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0k0-b63ptvbl5.js +0 -3
  580. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0k0-b63ptvbl5.js.map +0 -1
  581. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0pik0g65vv-wi.js +0 -3
  582. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0pik0g65vv-wi.js.map +0 -1
  583. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0t6vd5zwkqjs1.js +0 -3
  584. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0t6vd5zwkqjs1.js.map +0 -1
  585. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xccr6d8xcb1p.js +0 -3
  586. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xccr6d8xcb1p.js.map +0 -1
  587. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13agc620bnznv.js +0 -3
  588. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13agc620bnznv.js.map +0 -1
  589. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_184-gj4lz41i-.js +0 -3
  590. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_184-gj4lz41i-.js.map +0 -1
  591. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18gq8l27vkevg.js +0 -3
  592. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18gq8l27vkevg.js.map +0 -1
  593. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1bt2ioufqh6fl.js +0 -3
  594. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1bt2ioufqh6fl.js.map +0 -1
  595. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1cwvrsosahx6q.js +0 -3
  596. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1cwvrsosahx6q.js.map +0 -1
  597. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1d613l6zsee_e.js +0 -3
  598. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1d613l6zsee_e.js.map +0 -1
  599. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1jbr52uzx5cc7.js +0 -3
  600. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1jbr52uzx5cc7.js.map +0 -1
  601. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o0-ipfysjmro.js +0 -3
  602. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o0-ipfysjmro.js.map +0 -1
  603. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js +0 -3
  604. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js.map +0 -1
  605. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1x-0vplt44lez.js +0 -3
  606. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1x-0vplt44lez.js.map +0 -1
  607. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xhjyaxgorqkx.js +0 -3
  608. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xhjyaxgorqkx.js.map +0 -1
  609. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js +0 -3
  610. package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js.map +0 -1
  611. package/web/.next/server/chunks/ssr/web_15vnjj3s0z3fa._.js +0 -3
  612. package/web/.next/server/chunks/ssr/web_15vnjj3s0z3fa._.js.map +0 -1
  613. package/web/.next/server/chunks/ssr/web_features_0xbnkk4hfgr9v._.js +0 -3
  614. package/web/.next/server/chunks/ssr/web_features_0xbnkk4hfgr9v._.js.map +0 -1
  615. package/web/.next/server/chunks/ssr/web_features_0xnlgtw8bfqaa._.js +0 -3
  616. package/web/.next/server/chunks/ssr/web_features_0xnlgtw8bfqaa._.js.map +0 -1
  617. package/web/.next/server/chunks/ssr/web_features_19v3mlx8c_h1-._.js +0 -3
  618. package/web/.next/server/chunks/ssr/web_features_1_2m6l73qk7qw._.js +0 -3
  619. package/web/.next/server/chunks/ssr/web_features_1_2m6l73qk7qw._.js.map +0 -1
  620. package/web/.next/server/chunks/ssr/web_features_1rwkgka1xffb1._.js +0 -3
  621. package/web/.next/server/chunks/ssr/web_features_forms_1u0akr22eh_x_._.js +0 -3
  622. package/web/.next/server/chunks/ssr/web_features_forms_1u0akr22eh_x_._.js.map +0 -1
  623. package/web/.next/server/chunks/ssr/web_features_outside-party_0_9c27knfvw7u._.js +0 -3
  624. package/web/.next/server/chunks/ssr/web_features_outside-party_0_9c27knfvw7u._.js.map +0 -1
  625. package/web/.next/static/chunks/1-suv9wttlxqo.js +0 -1
  626. package/web/.next/static/chunks/19kfx4qlur25a.js +0 -1
  627. package/web/.next/static/chunks/1a2-hkn-7471k.js +0 -1
  628. package/web/.next/static/chunks/1yj875esaesyh.css +0 -3
  629. package/web/.next/static/chunks/2-kh9nbonee6w.js +0 -1
  630. package/web/.next/static/chunks/2l92bozm8dcmo.js +0 -1
  631. package/web/.next/static/chunks/2riya89_i0je8.js +0 -1
  632. package/web/.next/static/chunks/310mio1zd_mw7.js +0 -1
  633. package/web/.next/static/chunks/3_pwm8b3mf4mf.js +0 -1
  634. package/web/.next/static/chunks/455eobei0t6t9.js +0 -1
  635. /package/web/.next/static/{87vMFs_KGRcFD40WWRkFR → yf1Q3fTAV4eQiroxoYbih}/_buildManifest.js +0 -0
  636. /package/web/.next/static/{87vMFs_KGRcFD40WWRkFR → yf1Q3fTAV4eQiroxoYbih}/_clientMiddlewareManifest.js +0 -0
  637. /package/web/.next/static/{87vMFs_KGRcFD40WWRkFR → yf1Q3fTAV4eQiroxoYbih}/_ssgManifest.js +0 -0
@@ -1,3 +0,0 @@
1
- module.exports=[78872,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["gateway-off",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(45900)),"[project]/web/app/(console)/gateway-off/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/gateway-off/page",pathname:"/gateway-off",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],78872)}];
2
-
3
- //# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/gateway-off/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"gateway-off\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/gateway-off/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/gateway-off/page\",\n pathname: \"/gateway-off\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"uCAAA,IAAA,EAAA,EAAA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iC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,AACpI,EAAG,EAAE,CAAC,AACN,EAAG,CACD,OAAU,CAACR,EAA8B,+BAA+B,CACxE,YAAa,CAACC,EAAoC,kCAAkC,CACpF,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,CAClI,eAAgB,CAACC,EAAuC,6EAA6E,AACvI,EAAG,EAAE,CAAC,CACAQ,EAAuBC,EAAsBC,CAAC,CAACC,IAAI,CAACF,GACpDG,EAA0BH,EAAsBI,CAAC,CAACF,IAAI,CAACF,GACvDK,EAAa,CAAA,EAAA,EAAA,CAAA,AAAuB,EAAC,CACvCR,OACAS,KAAM,8BACNC,SAAU,eACVC,QAAST,EACTU,UAAWN,EACXO,eAAAA,EAAAA,cAAc,AAClB,GACaC,EAAeN,EAAWM,YAAY,CACtCC,EAAcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO","ignoreList":[0]}
@@ -1,3 +0,0 @@
1
- module.exports=[96400,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["outside-parties",{children:["add",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(20996)),"[project]/web/app/(console)/outside-parties/add/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/outside-parties/add/page",pathname:"/outside-parties/add",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],96400)}];
2
-
3
- //# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_1x-0vplt44lez.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/outside-parties/add/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"outside-parties\", {\n\"children\": [\"add\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/outside-parties/add/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/outside-parties/add/page\",\n pathname: \"/outside-parties/add\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAWA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAyCA,EAAA,CAAA,CAAA,OApDA,IAAMA,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAwC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC/DC,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAkC,CAAA,EAAA,EAAA,s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
@@ -1,3 +0,0 @@
1
- module.exports=[54633,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["slack",{children:["disconnect",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(93184)),"[project]/web/app/(console)/slack/disconnect/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/slack/disconnect/page",pathname:"/slack/disconnect",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],54633)}];
2
-
3
- //# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_1xhjyaxgorqkx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/slack/disconnect/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"slack\", {\n\"children\": [\"disconnect\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/slack/disconnect/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/slack/disconnect/page\",\n pathname: \"/slack/disconnect\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAWA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,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F,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,AACpI,EAAG,EAAE,CAAC,AACN,EAAG,CACD,OAAU,CAACR,EAA8B,+BAA+B,CACxE,YAAa,CAACC,EAAoC,kCAAkC,CACpF,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,CAClI,eAAgB,CAACC,EAAuC,6EAA6E,AACvI,EAAG,EAAE,CAAC,CACAQ,EAAuBC,EAAsBC,CAAC,CAACC,IAAI,CAACF,GACpDG,EAA0BH,EAAsBI,CAAC,CAACF,IAAI,CAACF,GACvDK,EAAa,CAAA,EAAA,EAAA,CAAA,AAAuB,EAAC,MACvCR,EACAS,KAAM,mCACNC,SAAU,oBACVC,QAAST,EACTU,UAAWN,EACXO,eAAAA,EAAAA,cAAc,AAClB,GACaC,EAAeN,EAAWM,YAAY,CACtCC,EAAcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO","ignoreList":[0]}
@@ -1,3 +0,0 @@
1
- module.exports=[5530,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["meetings",{children:["[meetingId]",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(13628)),"[project]/web/app/(console)/meetings/[meetingId]/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/meetings/[meetingId]/page",pathname:"/meetings/[meetingId]",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],5530)}];
2
-
3
- //# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/meetings/%5BmeetingId%5D/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"meetings\", {\n\"children\": [\"[meetingId]\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/meetings/[meetingId]/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/meetings/[meetingId]/page\",\n pathname: \"/meetings/[meetingId]\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"sCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAWA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAyCA,EAAA,CAAA,CAAA,OApDA,IAAMA,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAwC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC/DC,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC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AcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO","ignoreList":[0]}
@@ -1,3 +0,0 @@
1
- module.exports=[[88707,a=>{var b=a.i(7997),c=a.i(9181),d=a.i(72913),e=a.i(22126),f=a.i(66283);async function g({params:a,searchParams:h}){let{name:i}=await a,j=await (0,f._)({path:(0,d.N)(i),searchParams:await h});return"noSignIn"===j.kind?(0,b.jsx)(e.f,{}):(0,b.jsx)(c.b,{page:j,name:i})}a.s(["default",0,g,"metadata",0,{title:"Outside parties"}])},29493,a=>{let b=[{kind:"none",label:"No credential"},{kind:"bearer",label:"Bearer token"},{kind:"clientCredentials",label:"OAuth client credentials"}];a.s(["x",0,b,"y",0,function(a){var c;let d=(c=a.credentialKind,b.find(({kind:a})=>a===c)?.kind??"bearer");switch(d){case"none":return{kind:d};case"bearer":return{kind:d,token:a.token};case"clientCredentials":return{kind:d,clientId:a.clientId,clientSecret:a.clientSecret,issuer:a.issuer,...""===a.scope?{}:{scope:a.scope}}}}])},49144,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},65253,a=>{let b={mcpServer:{protocol:"MCP",side:"server"},mcpClient:{protocol:"MCP",side:"client"},a2aClient:{protocol:"A2A",side:"client"},a2aAgent:{protocol:"A2A",side:"server"}};a.s(["G",0,b,"Y",0,{commissioning:{tone:"active",label:"Commissioning"},awaitingCrew:{tone:"waiting",label:"Awaiting crew"},crewed:{tone:"ok",label:"Crewed"}},"N",0,{server:{one:"server",many:"servers"},client:{one:"client",many:"clients"}},"R",0,function(a){let c=a.map(a=>b[a.kind]),d=[...new Set(c.map(a=>a.protocol))];return{total:a.length,sides:{server:c.filter(a=>"server"===a.side).length,client:c.filter(a=>"client"===a.side).length},protocols:d.map(a=>({protocol:a,count:c.filter(b=>b.protocol===a).length}))}},"M",0,function(a){switch(a.kind){case"mcpServer":return a.url;case"mcpClient":return a.clientId;case"a2aClient":return null;case"a2aAgent":return a.cardUrl}}])},98323,a=>{var b=a.i(7997);let c={waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",active:"border-tone-active-border bg-tone-active-bg text-tone-active-fg",ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg",ended:"border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg"};a.s(["T",0,function({tone:a,label:d}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 text-caption ${c[a]}`,children:d})},"E",0,function({children:a,isMono:c=!1}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-md border border-border px-2 text-caption ${c?"font-mono":""}`,children:a})}])},22126,a=>{var b=a.i(7997),c=a.i(49144);a.s(["f",0,function(){return(0,b.jsxs)("section",{className:c.r,"data-testid":"no-sign-in",children:[(0,b.jsx)("h2",{className:"text-heading font-semibold",children:"Nobody signs in here"}),(0,b.jsx)("p",{className:"mt-2 text-muted-foreground",children:"This gateway signs no one in to its pages: it is no app at pagasae."})]})}])}],61658,function(a){a.n(a.i(88707))}];
2
-
3
- //# sourceMappingURL=web_15vnjj3s0z3fa._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/app/%28console%29/outside-parties/%5Bname%5D/page.tsx","../../../../../web/features/forms/server-credential.ts","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/outside-parties/party-kinds.ts","../../../../../web/features/outside-parties/ui/status-badge.tsx","../../../../../web/features/sign-in/ui/no-sign-in.tsx"],"sourcesContent":["import type { Metadata } from 'next';\n\nimport { OutsideParty } from '../../../../features/outside-party/ui/outside-party';\nimport { partyPath } from '../../../../features/outside-parties/paths';\nimport { NoSignIn } from '../../../../features/sign-in/ui/no-sign-in';\nimport { signedInPage, type SearchParams } from '../../../../lib/gateway-api/page-api';\n\nexport const metadata: Metadata = { title: 'Outside parties' };\n\nexport default async function OutsidePartyPage({ params, searchParams }: { params: Promise<{ name: string }>; searchParams: Promise<SearchParams> }) {\n const { name } = await params;\n const page = await signedInPage({ path: partyPath(name), searchParams: await searchParams });\n if (page.kind === 'noSignIn') {\n return <NoSignIn />;\n }\n return <OutsideParty page={page} name={name} />;\n}\n","/**\n * An outside MCP server's credential, as the add, Parties and decision forms\n * take it: none for a server reached only on a private network, a static\n * bearer, or OAuth client credentials.\n */\n\n/** The credential kinds a form offers, with the words it shows. */\nexport const CREDENTIAL_KINDS = [\n { kind: 'none', label: 'No credential' },\n { kind: 'bearer', label: 'Bearer token' },\n { kind: 'clientCredentials', label: 'OAuth client credentials' },\n] as const;\n\nexport type CredentialKind = (typeof CREDENTIAL_KINDS)[number]['kind'];\n\nexport type ServerCredential =\n | { kind: 'none' }\n | { kind: 'bearer'; token: string }\n | { kind: 'clientCredentials'; clientId: string; clientSecret: string; issuer: string; scope?: string };\n\n/** The kind a form sent, a bearer when it sent none it knows. */\nexport function credentialKindOf(sent: string): CredentialKind {\n return CREDENTIAL_KINDS.find(({ kind }) => kind === sent)?.kind ?? 'bearer';\n}\n\n/** The credential the fields name: only the fields of its kind are read. */\nexport function serverCredentialOf(fields: { credentialKind: string; token: string; clientId: string; clientSecret: string; issuer: string; scope: string }): ServerCredential {\n const kind = credentialKindOf(fields.credentialKind);\n switch (kind) {\n case 'none':\n return { kind };\n case 'bearer':\n return { kind, token: fields.token };\n case 'clientCredentials':\n return { kind, clientId: fields.clientId, clientSecret: fields.clientSecret, issuer: fields.issuer, ...(fields.scope === '' ? {} : { scope: fields.scope }) };\n }\n}\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","/**\n * An outside party is a party and its protocol (design B, How A2A slots\n * in): the protocol is a tag on every card and the list counts per\n * protocol, so an A2A agent joins as one more kind here.\n */\nimport type { inferRouterOutputs } from '@trpc/server';\n\nimport type { GatewayRouter } from '../../../src/adapters/trpc/router.js';\n\n/** An outside party as the API lists it. */\nexport type ListedParty = inferRouterOutputs<GatewayRouter>['parties']['list'][number];\n\n/** Which side an outside party is on: a server the fleet's ships call, or a client that calls them. */\nexport type Side = 'server' | 'client';\n\nexport const PARTY_KINDS: Record<ListedParty['kind'], { protocol: string; side: Side }> = {\n mcpServer: { protocol: 'MCP', side: 'server' },\n mcpClient: { protocol: 'MCP', side: 'client' },\n a2aClient: { protocol: 'A2A', side: 'client' },\n a2aAgent: { protocol: 'A2A', side: 'server' },\n};\n\n/** Where a party is reached or named outside: an MCP server's URL, an MCP client's id, an A2A agent's card address; an A2A client has none. */\nexport function outsideAddressOf(party: ListedParty): string | null {\n switch (party.kind) {\n case 'mcpServer':\n return party.url;\n case 'mcpClient':\n return party.clientId;\n case 'a2aClient':\n return null;\n case 'a2aAgent':\n return party.cardUrl;\n }\n}\n\nexport const SIDES: Record<Side, { one: string; many: string }> = {\n server: { one: 'server', many: 'servers' },\n client: { one: 'client', many: 'clients' },\n};\n\n/** The tones the design tokens colour a status by. */\nexport type Tone = 'waiting' | 'active' | 'ok' | 'attention' | 'ended';\n\n/** A proxy ship's state as the console shows a status. */\nexport const PARTY_STATES: Record<ListedParty['state'], { tone: Tone; label: string }> = {\n commissioning: { tone: 'active', label: 'Commissioning' },\n awaitingCrew: { tone: 'waiting', label: 'Awaiting crew' },\n crewed: { tone: 'ok', label: 'Crewed' },\n};\n\nexport interface Counts {\n total: number;\n sides: Record<Side, number>;\n protocols: { protocol: string; count: number }[];\n}\n\n/** How many outside parties the fleet has, per side and per protocol. */\nexport function countsOf(parties: readonly Pick<ListedParty, 'kind'>[]): Counts {\n const kinds = parties.map((party) => PARTY_KINDS[party.kind]);\n const protocols = [...new Set(kinds.map((kind) => kind.protocol))];\n return {\n total: parties.length,\n sides: { server: kinds.filter((kind) => kind.side === 'server').length, client: kinds.filter((kind) => kind.side === 'client').length },\n protocols: protocols.map((protocol) => ({ protocol, count: kinds.filter((kind) => kind.protocol === protocol).length })),\n };\n}\n","import type { Tone } from '../party-kinds';\n\nconst TONES: Record<Tone, string> = {\n waiting: 'border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg',\n active: 'border-tone-active-border bg-tone-active-bg text-tone-active-fg',\n ok: 'border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg',\n attention: 'border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg',\n ended: 'border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg',\n};\n\n/** A status in its tone, as the console shows one. */\nexport function StatusBadge({ tone, label }: { tone: Tone; label: string }) {\n return <span className={`inline-flex items-center rounded-full border px-2 text-caption ${TONES[tone]}`}>{label}</span>;\n}\n\n/** A plain tag: a protocol, a side, an id. */\nexport function Tag({ children, isMono = false }: { children: React.ReactNode; isMono?: boolean }) {\n return <span className={`inline-flex items-center rounded-md border border-border px-2 text-caption ${isMono ? 'font-mono' : ''}`}>{children}</span>;\n}\n","import { CARD } from '../../forms/ui/look';\n\n/** A gateway that is no app at pagasae signs no one in to its pages (header design H5). */\nexport function NoSignIn() {\n return (\n <section className={CARD} data-testid=\"no-sign-in\">\n <h2 className=\"text-heading font-semibold\">Nobody signs in here</h2>\n <p className=\"mt-2 text-muted-foreground\">This gateway signs no one in to its pages: it is no app at pagasae.</p>\n </section>\n );\n}\n"],"names":["metadata","title","OutsidePartyPage","params","searchParams","name","page","path","kind","CREDENTIAL_KINDS","label","credentialKindOf","sent","find","serverCredentialOf","fields","credentialKind","token","clientId","clientSecret","issuer","scope","CARD","BUTTON","BUTTONS","primary","secondary","destructive","INPUT","LABEL","PARTY_KINDS","mcpServer","protocol","side","mcpClient","a2aClient","a2aAgent","outsideAddressOf","party","url","cardUrl","SIDES","server","one","many","client","PARTY_STATES","commissioning","tone","awaitingCrew","crewed","countsOf","parties","kinds","map","protocols","Set","total","length","sides","filter","count","TONES","waiting","active","ok","attention","ended","StatusBadge","className","Tag","children","isMono","NoSignIn"],"mappings":"2CAEA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAIe,eAAeE,EAAiB,QAAEC,CAAM,cAAEC,CAAY,CAA8E,EACjJ,GAAM,MAAEC,CAAI,CAAE,CAAG,MAAMF,EACjBG,EAAO,MAAM,CAAA,EAAA,EAAA,CAAA,AAAY,EAAC,CAAEC,KAAM,CAAA,EAAA,EAAA,CAAA,AAAS,EAACF,GAAOD,aAAc,MAAMA,CAAa,SAC1F,AAAkB,YAAY,CAA1BE,EAAKE,IAAI,CACJ,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAQ,CAAA,CAAA,GAEX,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CAAY,CAAA,CAACF,KAAMA,EAAMD,KAAMA,GACzC,iCATkC,CAAEJ,MAAO,iBAAkB,eCAtD,IAAMQ,EAAmB,CAC9B,CAAED,KAAM,OAAQE,MAAO,eAAgB,EACvC,CAAEF,KAAM,SAAUE,MAAO,cAAe,EACxC,CAAEF,KAAM,oBAAqBE,MAAO,0BAA2B,EAChE,oBAeM,SAASI,AAAmBC,CAAwH,QACzJ,IAAMP,GANyBI,EAMDG,EAN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AAA,EAAA,EAAA,IAAA,EAAC,UAAA,CAAQJ,UAAW,EAAA,CAAI,CAAE,cAAY,uBACpC,CAAA,EAAA,EAAA,GAAA,EAAC,KAAA,CAAGA,UAAU,sCAA6B,yBAC3C,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEA,UAAU,sCAA6B,0EAGhD"}
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[51636,a=>{let b=[{kind:"none",label:"No credential"},{kind:"bearer",label:"Bearer token"},{kind:"clientCredentials",label:"OAuth client credentials"}];a.s(["x",0,b,"C",0,function(a){return b.find(({kind:b})=>b===a)?.kind??"bearer"}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},35149,a=>{var b=a.i(87924),c=a.i(88412);a.s(["f",0,function({choices:a,current:d,help:e,refusal:f}){let g=null===d||a.some(a=>a.shipId===d.shipId)?a:[d,...a];return(0,b.jsxs)("label",{className:c.z,children:[(0,b.jsx)("span",{children:"Owner"}),(0,b.jsxs)("select",{className:c.w,name:"ownerShipId",defaultValue:d?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===d?(0,b.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,g.map(a=>(0,b.jsx)("option",{value:a.shipId,children:a.name},a.shipId))]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:f??e})]})}])},25964,a=>{var b=a.i(72131),c=a.i(50944);a.s(["LiveRefresh",0,function({fleetId:a}){let d;return d=(0,c.useRouter)(),(0,b.useEffect)(()=>{let b=new EventSource(`/overview/changes?fleet=${encodeURIComponent(a)}`);return b.onmessage=()=>{d.refresh()},()=>{b.close()}},[a,d]),(0,b.useEffect)(()=>{let b,c=()=>{let c="visible"===document.visibilityState&&document.hasFocus();c&&void 0===b?b=new EventSource(`/overview/focus?fleet=${encodeURIComponent(a)}`):c||void 0===b||(b.close(),b=void 0)};return c(),window.addEventListener("focus",c),window.addEventListener("blur",c),document.addEventListener("visibilitychange",c),()=>{window.removeEventListener("focus",c),window.removeEventListener("blur",c),document.removeEventListener("visibilitychange",c),b?.close()}},[a]),null}],25964)},1542,a=>{var b=a.i(87924);let c={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent"};a.s(["f",0,function({isPending:a,pendingLabel:d,variant:e="secondary",children:f,className:g="",disabled:h,...i}){return(0,b.jsx)("button",{...i,disabled:!0===h||a,"aria-busy":a,className:`inline-flex h-9 items-center gap-2 rounded-md px-4 disabled:cursor-not-allowed disabled:opacity-70 ${c[e]} ${g}`,children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),d]}):f})}])},24229,a=>{var b=a.i(87924);a.s(["f",0,function({message:a,isFailure:c}){return c?(0,b.jsx)("p",{role:"alert","data-testid":"overview-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a}):(0,b.jsx)("p",{role:"status","data-testid":"overview-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a})}])}]})();
2
-
3
- //# sourceMappingURL=web_features_0xbnkk4hfgr9v._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/features/forms/server-credential.ts","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/forms/ui/owner-field.tsx","../../../../../web/features/overview/hooks/use-focus-report.ts","../../../../../web/features/overview/hooks/use-live-refresh.ts","../../../../../web/features/overview/state/live-refresh.tsx","../../../../../web/features/overview/ui/action-button.tsx","../../../../../web/features/overview/ui/notice.tsx"],"sourcesContent":["/**\n * An outside MCP server's credential, as the add, Parties and decision forms\n * take it: none for a server reached only on a private network, a static\n * bearer, or OAuth client credentials.\n */\n\n/** The credential kinds a form offers, with the words it shows. */\nexport const CREDENTIAL_KINDS = [\n { kind: 'none', label: 'No credential' },\n { kind: 'bearer', label: 'Bearer token' },\n { kind: 'clientCredentials', label: 'OAuth client credentials' },\n] as const;\n\nexport type CredentialKind = (typeof CREDENTIAL_KINDS)[number]['kind'];\n\nexport type ServerCredential =\n | { kind: 'none' }\n | { kind: 'bearer'; token: string }\n | { kind: 'clientCredentials'; clientId: string; clientSecret: string; issuer: string; scope?: string };\n\n/** The kind a form sent, a bearer when it sent none it knows. */\nexport function credentialKindOf(sent: string): CredentialKind {\n return CREDENTIAL_KINDS.find(({ kind }) => kind === sent)?.kind ?? 'bearer';\n}\n\n/** The credential the fields name: only the fields of its kind are read. */\nexport function serverCredentialOf(fields: { credentialKind: string; token: string; clientId: string; clientSecret: string; issuer: string; scope: string }): ServerCredential {\n const kind = credentialKindOf(fields.credentialKind);\n switch (kind) {\n case 'none':\n return { kind };\n case 'bearer':\n return { kind, token: fields.token };\n case 'clientCredentials':\n return { kind, clientId: fields.clientId, clientSecret: fields.clientSecret, issuer: fields.issuer, ...(fields.scope === '' ? {} : { scope: fields.scope }) };\n }\n}\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","import { INPUT, LABEL } from './look';\n\n/** A ship a party's owner may be picked from, by its name. */\nexport interface OwnerChoice {\n shipId: string;\n name: string;\n}\n\n/** The owner choices as a page read them, or why they could not be read. */\nexport type OwnerChoices = { isOk: true; value: OwnerChoice[] } | { isOk: false; refusal: string };\n\n/**\n * The owner of a party, picked by name from the ships the fleet takes as an\n * owner. The owner it has now stays a choice, though the fleet no longer\n * lists it, so saving leaves it as it is. Where the choices could not be\n * read, it says why, with nothing to pick.\n */\nexport function OwnerField({ choices, current, help, refusal }: { choices: readonly OwnerChoice[]; current: OwnerChoice | null; help: string; refusal?: string | undefined }) {\n const shown = current === null || choices.some((choice) => choice.shipId === current.shipId) ? choices : [current, ...choices];\n return (\n <label className={LABEL}>\n <span>Owner</span>\n <select className={INPUT} name=\"ownerShipId\" defaultValue={current?.shipId ?? ''} required data-testid=\"owner-field\">\n {current === null ? (\n <option value=\"\" disabled>\n Pick its owner\n </option>\n ) : null}\n {shown.map((choice) => (\n <option key={choice.shipId} value={choice.shipId}>\n {choice.name}\n </option>\n ))}\n </select>\n <span className=\"text-muted-foreground\">{refusal ?? help}</span>\n </label>\n );\n}\n","'use client';\n\nimport { useEffect } from 'react';\n\n/** The stream the page holds while in focus, which the web app's server follows on the gateway's API for the browser. */\nexport const FOCUS_PATH = '/overview/focus';\n\n/**\n * Tells the gateway while the page is in focus (wake a person, W6): it holds\n * the focus stream open while the window has focus and the page shows, and\n * closes it when either ends. While a page of the person is in focus, what\n * arrives is shown there and no wake goes out; an open page not in focus\n * changes nothing. A lost connection no longer counts as in focus.\n */\nexport function useFocusReport(fleetId: string): void {\n useEffect(() => {\n let focus: EventSource | undefined;\n const report = () => {\n const isInFocus = document.visibilityState === 'visible' && document.hasFocus();\n if (isInFocus && focus === undefined) {\n focus = new EventSource(`${FOCUS_PATH}?fleet=${encodeURIComponent(fleetId)}`);\n } else if (!isInFocus && focus !== undefined) {\n focus.close();\n focus = undefined;\n }\n };\n report();\n window.addEventListener('focus', report);\n window.addEventListener('blur', report);\n document.addEventListener('visibilitychange', report);\n return () => {\n window.removeEventListener('focus', report);\n window.removeEventListener('blur', report);\n document.removeEventListener('visibilitychange', report);\n focus?.close();\n };\n }, [fleetId]);\n}\n","'use client';\n\nimport { useRouter } from 'next/navigation';\nimport { useEffect } from 'react';\n\n/** The page's live updates, which the web app's server follows on the gateway's API for the browser. */\nexport const CHANGES_PATH = '/overview/changes';\n\n/**\n * Keeps the page in step with its fleet's requests: whenever one changes,\n * the page reads itself again on the server, as its own caller. The browser\n * opens the stream again by itself when it drops.\n */\nexport function useLiveRefresh(fleetId: string): void {\n const router = useRouter();\n useEffect(() => {\n const changes = new EventSource(`${CHANGES_PATH}?fleet=${encodeURIComponent(fleetId)}`);\n changes.onmessage = () => {\n router.refresh();\n };\n return () => {\n changes.close();\n };\n }, [fleetId, router]);\n}\n","'use client';\n\nimport { useFocusReport } from '../hooks/use-focus-report';\nimport { useLiveRefresh } from '../hooks/use-live-refresh';\n\n/** Keeps the page it sits in live, and tells the gateway while it is in focus (wake a person, W6): it shows nothing itself. */\nexport function LiveRefresh({ fleetId }: { fleetId: string }) {\n useLiveRefresh(fleetId);\n useFocusReport(fleetId);\n return null;\n}\n","import type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nconst VARIANTS = {\n primary: 'bg-primary text-primary-foreground hover:bg-primary-hover',\n secondary: 'border border-border bg-card text-card-foreground hover:bg-accent',\n} as const;\n\n/**\n * A button for an action: the moment it is pressed and until the answer\n * comes, it shows a spinner and its working label, and cannot run twice.\n */\nexport function ActionButton({\n isPending,\n pendingLabel,\n variant = 'secondary',\n children,\n className = '',\n disabled,\n ...button\n}: ButtonHTMLAttributes<HTMLButtonElement> & { isPending: boolean; pendingLabel: string; variant?: keyof typeof VARIANTS; children: ReactNode }) {\n return (\n <button\n {...button}\n disabled={disabled === true || isPending}\n aria-busy={isPending}\n className={`inline-flex h-9 items-center gap-2 rounded-md px-4 disabled:cursor-not-allowed disabled:opacity-70 ${VARIANTS[variant]} ${className}`}\n >\n {isPending ? (\n <>\n <span aria-hidden=\"true\" className=\"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent\" />\n {pendingLabel}\n </>\n ) : (\n children\n )}\n </button>\n );\n}\n","/** What an action came to, said in place: a success as a status, a failure as an alert by the control. */\nexport function Notice({ message, isFailure }: { message: string; isFailure: boolean }) {\n return isFailure ? (\n <p role=\"alert\" data-testid=\"overview-failure\" className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {message}\n </p>\n ) : (\n <p role=\"status\" data-testid=\"overview-success\" className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {message}\n </p>\n );\n}\n"],"names":["CREDENTIAL_KINDS","kind","label","credentialKindOf","sent","find","serverCredentialOf","fields","credentialKind","token","clientId","clientSecret","issuer","scope","CARD","BUTTON","BUTTONS","primary","secondary","destructive","INPUT","LABEL","OwnerField","choices","current","help","refusal","shown","some","choice","shipId","className","name","defaultValue","required","value","disabled","map","FOCUS_PATH","useFocusReport","fleetId","focus","report","isInFocus","document","visibilityState","hasFocus","undefined","EventSource","encodeURIComponent","close","window","addEventListener","removeEventListener","VARIANTS","ActionButton","isPending","pendingLabel","variant","children","button","Notice","message","isFailure","role"],"mappings":"6CAOO,IAAMA,EAAmB,CAC9B,CAAEC,KAAM,OAAQC,MAAO,eAAgB,EACvC,CAAED,KAAM,SAAUC,MAAO,cAAe,EACxC,CAAED,KAAM,oBAAqBC,MAAO,0BAA2B,EAChE,oBAUM,SAASC,AAAiBC,CAAY,EAC3C,OAAOJ,EAAiBK,IAAI,CAAC,CAAC,MAAEJ,CAAI,CAAE,GAAKA,IAASG,IAAOH,MAAQ,QACrE,eCpBA,IAAMc,EAAS,oGAEFC,EAAU,CACrBC,QAAS,CAAA,EAAGF,EAAO,0DAA0D,CAAC,CAC9EG,UAAW,CAAA,EAAGH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EAAA,EAAA,CAAA,CAAA,kBACjG,SAASE,AAAO,SAAEC,CAAO,WAAEC,CAAS,CAA2C,EACpF,OAAOA,EACL,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEC,KAAK,QAAQ,cAAY,mBAAmBjC,UAAU,gHACtD+B,IAGH,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEE,KAAK,SAAS,cAAY,mBAAmBjC,UAAU,2FACvD+B,GAGP"}
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},51636,a=>{let b=[{kind:"none",label:"No credential"},{kind:"bearer",label:"Bearer token"},{kind:"clientCredentials",label:"OAuth client credentials"}];a.s(["x",0,b,"C",0,function(a){return b.find(({kind:b})=>b===a)?.kind??"bearer"}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,77237,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}],36855);var c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}],77237)},35149,a=>{var b=a.i(87924),c=a.i(88412);a.s(["f",0,function({choices:a,current:d,help:e,refusal:f}){let g=null===d||a.some(a=>a.shipId===d.shipId)?a:[d,...a];return(0,b.jsxs)("label",{className:c.z,children:[(0,b.jsx)("span",{children:"Owner"}),(0,b.jsxs)("select",{className:c.w,name:"ownerShipId",defaultValue:d?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===d?(0,b.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,g.map(a=>(0,b.jsx)("option",{value:a.shipId,children:a.name},a.shipId))]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:f??e})]})}])},64943,a=>{a.s(["f",0,"scope:"])}]})();
2
-
3
- //# sourceMappingURL=web_features_0xnlgtw8bfqaa._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/features/forms/form-state.ts","../../../../../web/features/forms/server-credential.ts","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/forms/ui/outcome.tsx","../../../../../web/features/forms/ui/submit-button.tsx","../../../../../web/features/forms/ui/owner-field.tsx","../../../../../web/features/outside-party/scope-changes.ts"],"sourcesContent":["/**\n * What a page's form (a server action) answers the browser: nothing yet,\n * done with what changed, or refused with why, as the API said it. The\n * open network's warning asks for a confirm (interop I-3).\n */\nexport type FormState =\n | { kind: 'idle' }\n | { kind: 'done'; message: string }\n | { kind: 'refused'; message: string }\n | { kind: 'openNetwork'; message: string };\n\nexport const IDLE: FormState = { kind: 'idle' };\n\n/** A form's text field, empty when it was not sent. */\nexport function fieldOf(form: FormData, name: string): string {\n const value = form.get(name);\n return typeof value === 'string' ? value : '';\n}\n\n/** The form's fields as text, files left out. */\nexport function fieldsOf(form: FormData): Record<string, string> {\n return Object.fromEntries([...form.entries()].flatMap(([name, value]) => (typeof value === 'string' ? [[name, value]] : [])));\n}\n\n/** The fleet a page's form names: the page's own, sent in a hidden field. */\nexport const FLEET_FIELD = 'fleet';\n","/**\n * An outside MCP server's credential, as the add, Parties and decision forms\n * take it: none for a server reached only on a private network, a static\n * bearer, or OAuth client credentials.\n */\n\n/** The credential kinds a form offers, with the words it shows. */\nexport const CREDENTIAL_KINDS = [\n { kind: 'none', label: 'No credential' },\n { kind: 'bearer', label: 'Bearer token' },\n { kind: 'clientCredentials', label: 'OAuth client credentials' },\n] as const;\n\nexport type CredentialKind = (typeof CREDENTIAL_KINDS)[number]['kind'];\n\nexport type ServerCredential =\n | { kind: 'none' }\n | { kind: 'bearer'; token: string }\n | { kind: 'clientCredentials'; clientId: string; clientSecret: string; issuer: string; scope?: string };\n\n/** The kind a form sent, a bearer when it sent none it knows. */\nexport function credentialKindOf(sent: string): CredentialKind {\n return CREDENTIAL_KINDS.find(({ kind }) => kind === sent)?.kind ?? 'bearer';\n}\n\n/** The credential the fields name: only the fields of its kind are read. */\nexport function serverCredentialOf(fields: { credentialKind: string; token: string; clientId: string; clientSecret: string; issuer: string; scope: string }): ServerCredential {\n const kind = credentialKindOf(fields.credentialKind);\n switch (kind) {\n case 'none':\n return { kind };\n case 'bearer':\n return { kind, token: fields.token };\n case 'clientCredentials':\n return { kind, clientId: fields.clientId, clientSecret: fields.clientSecret, issuer: fields.issuer, ...(fields.scope === '' ? {} : { scope: fields.scope }) };\n }\n}\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","import type { FormState } from '../form-state';\n\n/** How a form ended: what changed, or why it was refused. Nothing while it has not been sent. */\nexport function Outcome({ state, testId }: { state: FormState; testId?: string }) {\n switch (state.kind) {\n case 'idle':\n return null;\n case 'done':\n return (\n <p role=\"status\" data-testid={testId} className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {state.message}\n </p>\n );\n case 'refused':\n case 'openNetwork':\n return (\n <p role=\"alert\" data-testid={testId} className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {state.message}\n </p>\n );\n }\n}\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useFormStatus } from 'react-dom';\n\nimport { BUTTONS, type ButtonKind } from './look';\n\n/** A form's button: it says the form is on its way at once, and takes no second press meanwhile. */\nexport function SubmitButton({ children, pending, kind = 'primary', testId }: { children: ReactNode; pending: string; kind?: ButtonKind; testId?: string }) {\n const status = useFormStatus();\n return (\n <button type=\"submit\" className={BUTTONS[kind]} disabled={status.pending} aria-busy={status.pending} data-testid={testId}>\n {status.pending ? pending : children}\n </button>\n );\n}\n","import { INPUT, LABEL } from './look';\n\n/** A ship a party's owner may be picked from, by its name. */\nexport interface OwnerChoice {\n shipId: string;\n name: string;\n}\n\n/** The owner choices as a page read them, or why they could not be read. */\nexport type OwnerChoices = { isOk: true; value: OwnerChoice[] } | { isOk: false; refusal: string };\n\n/**\n * The owner of a party, picked by name from the ships the fleet takes as an\n * owner. The owner it has now stays a choice, though the fleet no longer\n * lists it, so saving leaves it as it is. Where the choices could not be\n * read, it says why, with nothing to pick.\n */\nexport function OwnerField({ choices, current, help, refusal }: { choices: readonly OwnerChoice[]; current: OwnerChoice | null; help: string; refusal?: string | undefined }) {\n const shown = current === null || choices.some((choice) => choice.shipId === current.shipId) ? choices : [current, ...choices];\n return (\n <label className={LABEL}>\n <span>Owner</span>\n <select className={INPUT} name=\"ownerShipId\" defaultValue={current?.shipId ?? ''} required data-testid=\"owner-field\">\n {current === null ? (\n <option value=\"\" disabled>\n Pick its owner\n </option>\n ) : null}\n {shown.map((choice) => (\n <option key={choice.shipId} value={choice.shipId}>\n {choice.name}\n </option>\n ))}\n </select>\n <span className=\"text-muted-foreground\">{refusal ?? help}</span>\n </label>\n );\n}\n","/**\n * What a party's change form asks of the API (decision 0056): only what\n * differs from the party as the fleet holds it. Scope rows it did not show\n * revoke nothing; the scopes every app ship gets, and those the actor does\n * not hold, are never changed.\n */\nimport { idSchema } from '@aeolus-fleet/common';\n\n/** The scopes every app ship gets (0046): shown locked on, and never changed. */\nexport const EVERY_APP_SHIP_SCOPES: readonly string[] = ['messages:send', 'messages:receive'];\n\n/** A form field that ticks a scope: `scope:<scope>`, one field per scope. */\nexport const SCOPE_FIELD_PREFIX = 'scope:';\n\n/** The field a change form sends when it shows the scope rows. */\nexport const SCOPES_SHOWN_FIELD = 'scopesShown';\n\nexport type Changes = { kind: 'changes'; ownerShipId?: string; grant: string[]; revoke: string[] } | { kind: 'refused'; message: string };\n\nexport function changesOf(party: { ownerShipId: string | null; scopes: readonly string[] | null }, sent: { form: Readonly<Record<string, string>>; scopes: readonly string[] }): Changes {\n const { form, scopes } = sent;\n const sentOwner = form.ownerShipId?.trim();\n let ownerShipId: string | undefined;\n if (sentOwner !== undefined && sentOwner !== party.ownerShipId) {\n const parsed = idSchema('ship').safeParse(sentOwner);\n if (!parsed.success) {\n return { kind: 'refused', message: \"The owner's ship id is not a ship id (shp_...)\" };\n }\n ownerShipId = parsed.data;\n }\n const owner = ownerShipId === undefined ? {} : { ownerShipId };\n const held = party.scopes;\n if (form[SCOPES_SHOWN_FIELD] !== 'true' || held === null) {\n return { kind: 'changes', ...owner, grant: [], revoke: [] };\n }\n const own = scopes.filter((scope) => !EVERY_APP_SHIP_SCOPES.includes(scope));\n const isTicked = (scope: string) => form[`${SCOPE_FIELD_PREFIX}${scope}`] !== undefined;\n return {\n kind: 'changes',\n ...owner,\n grant: own.filter((scope) => isTicked(scope) && !held.includes(scope)),\n revoke: own.filter((scope) => !isTicked(scope) && held.includes(scope)),\n };\n}\n"],"names":["IDLE","kind","fieldOf","form","name","value","get","fieldsOf","Object","fromEntries","entries","flatMap","FLEET_FIELD","CREDENTIAL_KINDS","label","credentialKindOf","sent","find","serverCredentialOf","fields","credentialKind","token","clientId","clientSecret","issuer","scope","CARD","BUTTON","BUTTONS","primary","secondary","destructive","INPUT","LABEL","Outcome","state","testId","role","className","message","OwnerField","choices","current","help","refusal","shown","some","choice","shipId","defaultValue","required","disabled","map","EVERY_APP_SHIP_SCOPES","SCOPE_FIELD_PREFIX","SCOPES_SHOWN_FIELD","changesOf","party","scopes","sentOwner","ownerShipId","trim","undefined","parsed","idSchema","safeParse","success","data","owner","held","grant","revoke","own","filter","includes","isTicked"],"mappings":"wDAyB2B,cAdI,CAAEC,KAAM,MAAO,eCJvC,IAAMY,EAAmB,CAC9B,CAAEZ,KAAM,OAAQa,MAAO,eAAgB,EACvC,CAAEb,KAAM,SAAUa,MAAO,cAAe,EACxC,CAAEb,KAAM,oBAAqBa,MAAO,0BAA2B,EAChE,oBAUM,SAASC,AAAiBC,CAAY,EAC3C,OAAOH,EAAiBI,IAAI,CAAC,CAAC,MAAEhB,CAAI,CAAE,GAAKA,IAASe,IAAOf,MAAQ,QACrE,eCpBA,IAAM0B,EAAS,oGAEFC,EAAU,CACrBC,QAAS,CAAA,EAAGF,EAAO,0DAA0D,CAAC,CAC9EG,UAAW,CAAA,EAAGH,EAAO,6CAA6C,CAAC,CACnEI,YAAa,CAAA,EAAGJ,EAAO,2CAA2C,CAAC,AACrE,qBARoB,mFAYC,yFAEA,4DCZd,SAASO,AAAQ,OAAEC,CAAK,QAAEC,CAAM,CAAyC,EAC9E,OAAQD,EAAMlC,IAAI,EAChB,IAAK,OACH,OAAO,IACT,KAAK,OACH,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEoC,KAAK,SAAS,cAAaD,EAAQE,UAAU,2FAC7CH,EAAMI,OAAO,EAGpB,K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2B1C,MAAO0C,EAAOC,MAAM,UAC7CD,EAAO3C,IAAI,EADD2C,EAAOC,MAAM,MAK9B,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAKV,UAAU,iCAAyBM,GAAWD,MAG1D,0BCzBkC"}
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,77237,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}],36855);var c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}],77237)},47763,a=>{var b=a.i(87924);let c={waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",active:"border-tone-active-border bg-tone-active-bg text-tone-active-fg",ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg",ended:"border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg"};a.s(["T",0,function({tone:a,label:d}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 text-caption ${c[a]}`,children:d})},"E",0,function({children:a,isMono:c=!1}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-md border border-border px-2 text-caption ${c?"font-mono":""}`,children:a})}])}]})();
2
-
3
- //# sourceMappingURL=web_features_19v3mlx8c_h1-._.js.map
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,77237,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}],36855);var c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}],77237)},35149,a=>{var b=a.i(87924),c=a.i(88412);a.s(["f",0,function({choices:a,current:d,help:e,refusal:f}){let g=null===d||a.some(a=>a.shipId===d.shipId)?a:[d,...a];return(0,b.jsxs)("label",{className:c.z,children:[(0,b.jsx)("span",{children:"Owner"}),(0,b.jsxs)("select",{className:c.w,name:"ownerShipId",defaultValue:d?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===d?(0,b.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,g.map(a=>(0,b.jsx)("option",{value:a.shipId,children:a.name},a.shipId))]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:f??e})]})}])},64943,a=>{a.s(["f",0,"scope:"])}]})();
2
-
3
- //# sourceMappingURL=web_features_1_2m6l73qk7qw._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/features/forms/form-state.ts","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/forms/ui/outcome.tsx","../../../../../web/features/forms/ui/submit-button.tsx","../../../../../web/features/forms/ui/owner-field.tsx","../../../../../web/features/outside-party/scope-changes.ts"],"sourcesContent":["/**\n * What a page's form (a server action) answers the browser: nothing yet,\n * done with what changed, or refused with why, as the API said it. The\n * open network's warning asks for a confirm (interop I-3).\n */\nexport type FormState =\n | { kind: 'idle' }\n | { kind: 'done'; message: string }\n | { kind: 'refused'; message: string }\n | { kind: 'openNetwork'; message: string };\n\nexport const IDLE: FormState = { kind: 'idle' };\n\n/** A form's text field, empty when it was not sent. */\nexport function fieldOf(form: FormData, name: string): string {\n const value = form.get(name);\n return typeof value === 'string' ? value : '';\n}\n\n/** The form's fields as text, files left out. */\nexport function fieldsOf(form: FormData): Record<string, string> {\n return Object.fromEntries([...form.entries()].flatMap(([name, value]) => (typeof value === 'string' ? [[name, value]] : [])));\n}\n\n/** The fleet a page's form names: the page's own, sent in a hidden field. */\nexport const FLEET_FIELD = 'fleet';\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","import type { FormState } from '../form-state';\n\n/** How a form ended: what changed, or why it was refused. Nothing while it has not been sent. */\nexport function Outcome({ state, testId }: { state: FormState; testId?: string }) {\n switch (state.kind) {\n case 'idle':\n return null;\n case 'done':\n return (\n <p role=\"status\" data-testid={testId} className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {state.message}\n </p>\n );\n case 'refused':\n case 'openNetwork':\n return (\n <p role=\"alert\" data-testid={testId} className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {state.message}\n </p>\n );\n }\n}\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useFormStatus } from 'react-dom';\n\nimport { BUTTONS, type ButtonKind } from './look';\n\n/** A form's button: it says the form is on its way at once, and takes no second press meanwhile. */\nexport function SubmitButton({ children, pending, kind = 'primary', testId }: { children: ReactNode; pending: string; kind?: ButtonKind; testId?: string }) {\n const status = useFormStatus();\n return (\n <button type=\"submit\" className={BUTTONS[kind]} disabled={status.pending} aria-busy={status.pending} data-testid={testId}>\n {status.pending ? pending : children}\n </button>\n );\n}\n","import { INPUT, LABEL } from './look';\n\n/** A ship a party's owner may be picked from, by its name. */\nexport interface OwnerChoice {\n shipId: string;\n name: string;\n}\n\n/** The owner choices as a page read them, or why they could not be read. */\nexport type OwnerChoices = { isOk: true; value: OwnerChoice[] } | { isOk: false; refusal: string };\n\n/**\n * The owner of a party, picked by name from the ships the fleet takes as an\n * owner. The owner it has now stays a choice, though the fleet no longer\n * lists it, so saving leaves it as it is. Where the choices could not be\n * read, it says why, with nothing to pick.\n */\nexport function OwnerField({ choices, current, help, refusal }: { choices: readonly OwnerChoice[]; current: OwnerChoice | null; help: string; refusal?: string | undefined }) {\n const shown = current === null || choices.some((choice) => choice.shipId === current.shipId) ? choices : [current, ...choices];\n return (\n <label className={LABEL}>\n <span>Owner</span>\n <select className={INPUT} name=\"ownerShipId\" defaultValue={current?.shipId ?? ''} required data-testid=\"owner-field\">\n {current === null ? (\n <option value=\"\" disabled>\n Pick its owner\n </option>\n ) : null}\n {shown.map((choice) => (\n <option key={choice.shipId} value={choice.shipId}>\n {choice.name}\n </option>\n ))}\n </select>\n <span className=\"text-muted-foreground\">{refusal ?? help}</span>\n </label>\n );\n}\n","/**\n * What a party's change form asks of the API (decision 0056): only what\n * differs from the party as the fleet holds it. Scope rows it did not show\n * revoke nothing; the scopes every app ship gets, and those the actor does\n * not hold, are never changed.\n */\nimport { idSchema } from '@aeolus-fleet/common';\n\n/** The scopes every app ship gets (0046): shown locked on, and never changed. */\nexport const EVERY_APP_SHIP_SCOPES: readonly string[] = ['messages:send', 'messages:receive'];\n\n/** A form field that ticks a scope: `scope:<scope>`, one field per scope. */\nexport const SCOPE_FIELD_PREFIX = 'scope:';\n\n/** The field a change form sends when it shows the scope rows. */\nexport const SCOPES_SHOWN_FIELD = 'scopesShown';\n\nexport type Changes = { kind: 'changes'; ownerShipId?: string; grant: string[]; revoke: string[] } | { kind: 'refused'; message: string };\n\nexport function changesOf(party: { ownerShipId: string | null; scopes: readonly string[] | null }, sent: { form: Readonly<Record<string, string>>; scopes: readonly string[] }): Changes {\n const { form, scopes } = sent;\n const sentOwner = form.ownerShipId?.trim();\n let ownerShipId: string | undefined;\n if (sentOwner !== undefined && sentOwner !== party.ownerShipId) {\n const parsed = idSchema('ship').safeParse(sentOwner);\n if (!parsed.success) {\n return { kind: 'refused', message: \"The owner's ship id is not a ship id (shp_...)\" };\n }\n ownerShipId = parsed.data;\n }\n const owner = ownerShipId === undefined ? {} : { ownerShipId };\n const held = party.scopes;\n if (form[SCOPES_SHOWN_FIELD] !== 'true' || held === null) {\n return { kind: 'changes', ...owner, grant: [], revoke: [] };\n }\n const own = scopes.filter((scope) => !EVERY_APP_SHIP_SCOPES.includes(scope));\n const isTicked = (scope: string) => form[`${SCOPE_FIELD_PREFIX}${scope}`] !== undefined;\n return {\n kind: 'changes',\n ...owner,\n grant: own.filter((scope) => isTicked(scope) && !held.includes(scope)),\n revoke: own.filter((scope) => !isTicked(scope) && held.includes(scope)),\n };\n}\n"],"names":["IDLE","kind","fieldOf","form","name","value","get","fieldsOf","Object","fromEntries","entries","flatMap","FLEET_FIELD","CARD","BUTTON","BUTTONS","primary","secondary","destructive","INPUT","LABEL","Outcome","state","testId","role","className","message","OwnerField","choices","current","help","refusal","shown","some","choice","shipId","defaultValue","required","disabled","map","EVERY_APP_SHIP_SCOPES","SCOPE_FIELD_PREFIX","SCOPES_SHOWN_FIELD","changesOf","party","sent","scopes","sentOwner","ownerShipId","trim","undefined","parsed","idSchema","safeParse","success","data","owner","held","grant","revoke","own","filter","scope","includes","isTicked"],"mappings":"wDAyB2B,cAdI,CAAEC,KAAM,MAAO,eCR9C,IAAMa,EAAS,oGAEFC,EAAU,CACrBC,QAAS,CAAA,EAAGF,EAAO,0DAA0D,CAAC,CAC9EG,UAAW,CAAA,EAAGH,EAAO,6CAA6C,CAAC,CACnEI,YAAa,CAAA,EAAGJ,EAAO,2CAA2C,CAAC,AACrE,qBARoB,mFAYC,yFAEA,4DCZd,SAASO,AAAQ,OAAEC,CAAK,QAAEC,CAAM,CAAyC,EAC9E,OAAQD,EAAMrB,IAAI,EAChB,IAAK,OACH,OAAO,IACT,KAAK,OACH,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEuB,KAAK,SAAS,cAAaD,EAAQE,UAAU,2FAC7CH,EAAMI,OAAO,EAGpB,KAAK,UACL,IAAK,cACH,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEF,KAAK,QAAQ,cAAaD,EAAQE,UAAU,gHAC5CH,EAAMI,OAAO,EAGt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U,iCAAyBM,GAAWD,MAG1D,0BCzBkC"}
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},31614,a=>{var b=a.i(87924),c=a.i(72131),d=a.i(30587),e=a.i(36855),f=a.i(77237);a.s(["ActionForm",0,function({action:a,fleetId:g,children:h,submit:i,className:j="grid gap-3",testId:k}){let[l,m]=(0,c.useActionState)(a,d.Q);return(0,b.jsxs)("form",{action:m,className:j,"data-testid":k,children:[(0,b.jsx)("input",{type:"hidden",name:d.H,value:g}),h,(0,b.jsx)("div",{children:(0,b.jsx)(f.f,{pending:i.pending,...void 0===i.kind?{}:{kind:i.kind},children:i.label})}),(0,b.jsx)(e.f,{state:l})]})}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,77237,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}],36855);var c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}],77237)},82636,a=>{var b=a.i(87924),c=a.i(21338),d=a.i(22432),e=a.i(37987),f=a.i(21817),g=a.i(43256),h=a.i(27350),i=a.i(69035),j=a.i(21777),k=a.i(85804),l=a.i(72131);a.s(["ShipPicker",0,function({ships:a}){let m=a.map(({shipId:a,name:b})=>({value:a,label:b})),[n,o]=(0,l.useState)(null);return(0,b.jsxs)(c.f.Root,{items:m,value:n,onValueChange:a=>{o(a)},isItemEqualToValue:(a,b)=>a?.value===b?.value,children:[(0,b.jsx)("input",{type:"hidden",name:"shipId",value:n?.value??""}),(0,b.jsxs)("div",{className:"grid gap-1","data-testid":"slack-ship-picker",children:[(0,b.jsx)(d.f.Label,{className:"font-medium",children:"Ship"}),(0,b.jsx)(e.f.Input,{placeholder:"Search the agent ships and A2A agents",className:"h-9 w-full rounded-md border border-input bg-background px-3"})]}),(0,b.jsx)(f.f.Portal,{children:(0,b.jsx)(g.f.Positioner,{sideOffset:4,className:"z-50",children:(0,b.jsxs)(h.f.Popup,{className:"max-h-72 w-(--anchor-width) overflow-auto rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md",children:[(0,b.jsx)(i.f.Empty,{className:"px-2 py-1 text-muted-foreground",children:"No ship matches."}),(0,b.jsx)(j.f.List,{children:a=>(0,b.jsx)(k.f.Item,{value:a,className:"cursor-default rounded-sm px-2 py-1 data-highlighted:bg-accent",children:a.label},a.value)})]})})})]})}])}]})();
2
-
3
- //# sourceMappingURL=web_features_1rwkgka1xffb1._.js.map
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[51636,a=>{let b=[{kind:"none",label:"No credential"},{kind:"bearer",label:"Bearer token"},{kind:"clientCredentials",label:"OAuth client credentials"}];a.s(["x",0,b,"C",0,function(a){return b.find(({kind:b})=>b===a)?.kind??"bearer"}])},35149,a=>{var b=a.i(87924),c=a.i(88412);a.s(["f",0,function({choices:a,current:d,help:e,refusal:f}){let g=null===d||a.some(a=>a.shipId===d.shipId)?a:[d,...a];return(0,b.jsxs)("label",{className:c.z,children:[(0,b.jsx)("span",{children:"Owner"}),(0,b.jsxs)("select",{className:c.w,name:"ownerShipId",defaultValue:d?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===d?(0,b.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,g.map(a=>(0,b.jsx)("option",{value:a.shipId,children:a.name},a.shipId))]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:f??e})]})}])}]})();
2
-
3
- //# sourceMappingURL=web_features_forms_1u0akr22eh_x_._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/features/forms/server-credential.ts","../../../../../web/features/forms/ui/owner-field.tsx"],"sourcesContent":["/**\n * An outside MCP server's credential, as the add, Parties and decision forms\n * take it: none for a server reached only on a private network, a static\n * bearer, or OAuth client credentials.\n */\n\n/** The credential kinds a form offers, with the words it shows. */\nexport const CREDENTIAL_KINDS = [\n { kind: 'none', label: 'No credential' },\n { kind: 'bearer', label: 'Bearer token' },\n { kind: 'clientCredentials', label: 'OAuth client credentials' },\n] as const;\n\nexport type CredentialKind = (typeof CREDENTIAL_KINDS)[number]['kind'];\n\nexport type ServerCredential =\n | { kind: 'none' }\n | { kind: 'bearer'; token: string }\n | { kind: 'clientCredentials'; clientId: string; clientSecret: string; issuer: string; scope?: string };\n\n/** The kind a form sent, a bearer when it sent none it knows. */\nexport function credentialKindOf(sent: string): CredentialKind {\n return CREDENTIAL_KINDS.find(({ kind }) => kind === sent)?.kind ?? 'bearer';\n}\n\n/** The credential the fields name: only the fields of its kind are read. */\nexport function serverCredentialOf(fields: { credentialKind: string; token: string; clientId: string; clientSecret: string; issuer: string; scope: string }): ServerCredential {\n const kind = credentialKindOf(fields.credentialKind);\n switch (kind) {\n case 'none':\n return { kind };\n case 'bearer':\n return { kind, token: fields.token };\n case 'clientCredentials':\n return { kind, clientId: fields.clientId, clientSecret: fields.clientSecret, issuer: fields.issuer, ...(fields.scope === '' ? {} : { scope: fields.scope }) };\n }\n}\n","import { INPUT, LABEL } from './look';\n\n/** A ship a party's owner may be picked from, by its name. */\nexport interface OwnerChoice {\n shipId: string;\n name: string;\n}\n\n/** The owner choices as a page read them, or why they could not be read. */\nexport type OwnerChoices = { isOk: true; value: OwnerChoice[] } | { isOk: false; refusal: string };\n\n/**\n * The owner of a party, picked by name from the ships the fleet takes as an\n * owner. The owner it has now stays a choice, though the fleet no longer\n * lists it, so saving leaves it as it is. Where the choices could not be\n * read, it says why, with nothing to pick.\n */\nexport function OwnerField({ choices, current, help, refusal }: { choices: readonly OwnerChoice[]; current: OwnerChoice | null; help: string; refusal?: string | undefined }) {\n const shown = current === null || choices.some((choice) => choice.shipId === current.shipId) ? choices : [current, ...choices];\n return (\n <label className={LABEL}>\n <span>Owner</span>\n <select className={INPUT} name=\"ownerShipId\" defaultValue={current?.shipId ?? ''} required data-testid=\"owner-field\">\n {current === null ? (\n <option value=\"\" disabled>\n Pick its owner\n </option>\n ) : null}\n {shown.map((choice) => (\n <option key={choice.shipId} value={choice.shipId}>\n {choice.name}\n </option>\n ))}\n </select>\n <span className=\"text-muted-foreground\">{refusal ?? help}</span>\n </label>\n );\n}\n"],"names":["CREDENTIAL_KINDS","kind","label","credentialKindOf","sent","find","serverCredentialOf","fields","credentialKind","token","clientId","clientSecret","issuer","scope","OwnerField","choices","current","help","refusal","shown","some","choice","shipId","className","name","defaultValue","required","value","disabled","map"],"mappings":"6CAOO,IAAMA,EAAmB,CAC9B,CAAEC,KAAM,OAAQC,MAAO,eAAgB,EACvC,CAAED,KAAM,SAAUC,MAAO,cAAe,EACxC,CAAED,KAAM,oBAAqBC,MAAO,0BAA2B,EAChE,oBAUM,SAASC,AAAiBC,CAAY,EAC3C,OAAOJ,EAAiBK,IAAI,CAAC,CAAC,MAAEJ,CAAI,CAAE,GAAKA,IAASG,IAAOH,MAAQ,QACrE,gCCvBA,EAAA,EAAA,CAAA,CAAA,kBAiBO,SAASa,AAAW,SAAEC,CAAO,SAAEC,CAAO,MAAEC,CAAI,SAAEC,CAAO,CAAgH,EAC1K,IAAMC,EAAQH,AAAY,UAAQD,EAAQK,IAAI,CAAC,AAACC,GAAWA,EAAOC,MAAM,GAAKN,EAAQM,MAAM,EAAIP,EAAU,CAACC,KAAYD,EAAQ,CAC9H,MACE,CAAA,EAAA,EAAA,IAAA,EAAC,QAAA,CAAMQ,UAAW,EAAA,CAAK,WACrB,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,UAAK,UACN,CAAA,EAAA,EAAA,IAAA,EAAC,SAAA,CAAOA,UAAW,EAAA,CAAK,CAAEC,KAAK,cAAcC,aAAcT,GAASM,QAAU,GAAII,QAAQ,CAAA,CAAA,EAAC,cAAY,wBACxF,OAAZV,EACC,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CAAOW,MAAM,GAAGC,QAAQ,CAAA,CAAA,WAAC,mBAGxB,KACHT,EAAMU,GAAG,CAAC,AAACR,GACV,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CAA2BM,MAAON,EAAOC,MAAM,UAC7CD,EAAOG,IAAI,EADDH,EAAOC,MAAM,MAK9B,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAKC,UAAU,iCAAyBL,GAAWD,MAG1D"}
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";module.exports=[69717,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AgentNeeds() from the server but AgentNeeds is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/outside-party/tools-table/ui/agent-needs.tsx","AgentNeeds");a.s(["AgentNeeds",0,b])},4741,a=>{var b=a.i(69717);a.n(b)},64256,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call ToolsTable() from the server but ToolsTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/outside-party/tools-table/ui/tools-table.tsx","ToolsTable");a.s(["ToolsTable",0,b])},46736,a=>{var b=a.i(64256);a.n(b)},9181,a=>{var b=a.i(7997),c=a.i(717),d=a.i(55476),e=a.i(66283),f=a.i(29493),g=a.i(49144),h=a.i(65253),i=a.i(72913),j=a.i(1130),k=a.i(98323),l=a.i(4741),m=a.i(46736);async function n({api:a,name:b}){let c=await (0,e.F)(a.parties.approving.query({name:b})),d=c.isOk&&c.value.isApproving,f=d?await (0,e.F)(a.parties.listedScopes.query()):void 0;return{canChange:d&&f?.isOk===!0,listed:f?.isOk===!0?f.value.scopes:null,reason:c.isOk?c.value.isApproving?f?.isOk===!1?f.refusal:null:c.value.reason:c.refusal}}async function o({api:a,fleetId:c,name:d,isApprover:f}){let[g,h,i]=await Promise.all([(0,e.F)(a.parties.tools.query({name:d})),(0,e.F)(a.parties.scopeRequirements.query({name:d})),f?n({api:a,name:d}):{canChange:!1,listed:null,reason:null}]);return h.isOk?(0,b.jsxs)("div",{className:"grid gap-3",children:[null===i.reason?null:(0,b.jsxs)("p",{className:"text-muted-foreground","data-testid":"tools-table-read-only-reason",children:["You see these read-only: ",i.reason]}),(0,b.jsx)(m.ToolsTable,{fleetId:c,party:d,tools:function({read:a,requirements:b}){let c=new Map(b.tools.map(({tool:a,scopes:b})=>[a,b]));return a.isOk?a.value.tools.map(a=>({...a,scopes:c.get(a.name)??[]})):b.tools.map(({tool:a,scopes:b})=>({name:a,isOn:null,isNew:!1,scopes:b}))}({read:g,requirements:h.value}),version:h.value.version,partyScopes:h.value.party,listed:i.listed,canChange:i.canChange,serverRefusal:g.isOk?null:g.refusal})]}):(0,b.jsx)("p",{className:"text-muted-foreground",children:h.refusal})}function p({party:a}){return(0,b.jsxs)("div",{"aria-busy":"true","aria-label":`Reading the tools ${a} lists`,className:"grid gap-2","data-testid":"tools-table-skeleton",children:[(0,b.jsx)("span",{className:"block h-9 w-full animate-pulse rounded-md bg-muted"}),Array.from({length:8},(a,c)=>(0,b.jsx)("span",{className:"block h-10 animate-pulse rounded-md bg-muted"},c))]})}var q=a.i(35670);let r="fleet:owner",s="scopes:grant",t="gateway:approve";function u({fleetId:a}){return(0,b.jsx)("a",{href:(0,d.i)(i.$,a),className:"text-muted-foreground hover:text-foreground",children:"← Outside parties"})}function v({children:a}){return(0,b.jsx)("p",{role:"alert",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a})}let w={mcpServer:"Address",mcpClient:"Client id",a2aClient:"Address",a2aAgent:"Card address"},x=(0,b.jsx)("span",{className:"text-muted-foreground",children:"Not known"});function y({label:a,children:c}){return(0,b.jsxs)("div",{className:"grid gap-1 sm:grid-cols-[10rem_1fr]",children:[(0,b.jsx)("dt",{className:"text-muted-foreground",children:a}),(0,b.jsx)("dd",{className:"flex flex-wrap items-center gap-2",children:c})]})}function z({party:a}){let{protocol:c,side:d}=h.G[a.kind],e=h.Y[a.state];return(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,b.jsx)("h1",{className:"text-title font-semibold",children:a.name}),(0,b.jsx)(k.E,{children:c}),(0,b.jsx)(k.E,{children:h.N[d].one}),(0,b.jsx)(k.T,{tone:e.tone,label:e.label})]})}async function A({page:a,name:m}){let{api:B,fleetId:C,scopes:D}=a,E=await (0,e.F)(B.parties.get.query({name:m}));if(!E.isOk)return(0,b.jsxs)("div",{className:"grid gap-4",children:[(0,b.jsx)(u,{fleetId:C}),(0,b.jsx)(v,{children:E.refusal})]});let F=E.value,G=(0,h.M)(F),H=D.includes(t),[I,J]=await Promise.all(["a2aClient"===F.kind?(0,e.F)(B.parties.cardAddresses.query({name:m})):void 0,"a2aAgent"===F.kind?Promise.all([(0,e.F)(B.parties.scopeRequirements.query({name:m})),H?n({api:B,name:m}):{canChange:!1,listed:null,reason:null}]):void 0]),K=(0,b.jsx)("a",{href:(0,d.i)((0,i.N)(F.name,"change"),C),className:"text-primary hover:underline","data-testid":"outside-party-change",children:"Change"});return(0,b.jsxs)("div",{className:"grid gap-4",children:[(0,b.jsx)(u,{fleetId:C}),(0,b.jsx)(z,{party:F}),(0,b.jsxs)("dl",{className:`${g.r} grid gap-3`,children:[(0,b.jsx)(y,{label:"Proxy ship",children:F.proxyShipName??x}),(0,b.jsxs)(y,{label:"Owner",children:[F.ownerName??x,D.includes(r)?K:null]}),(0,b.jsxs)(y,{label:"Scopes",children:[null===F.scopes?x:F.scopes.map(a=>{let c;return(0,b.jsx)(k.E,{children:(c=j.K.safeParse(a)).success?j.q[c.data]:a},a)}),D.includes(s)?K:null]}),"mcpServer"===F.kind||"a2aAgent"===F.kind?(0,b.jsx)(y,{label:"Credential",children:f.x.find(({kind:a})=>a===F.credentialKind)?.label}):null,null===G?null:(0,b.jsx)(y,{label:w[F.kind],children:(0,b.jsx)("span",{className:"font-mono",children:G})}),"a2aAgent"===F.kind?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(y,{label:"Messages at once",children:F.concurrencyLimit}),(0,b.jsx)(y,{label:"Needs",children:void 0===J?null:J[0].isOk?(0,b.jsx)(l.AgentNeeds,{fleetId:C,party:F.name,version:J[0].value.version,scopes:J[0].value.party,listed:J[1].listed,canChange:J[1].canChange}):(0,b.jsx)("span",{className:"text-muted-foreground",children:J[0].refusal})}),(0,b.jsx)(y,{label:"Repeatable",children:D.includes(t)?(0,b.jsx)(q.RepeatableSwitch,{fleetId:C,party:F.name,isRepeatable:F.isRepeatable}):(0,b.jsx)(k.E,{children:F.isRepeatable?"Repeatable":"Not repeatable"})})]}):null]}),"mcpServer"===F.kind?(0,b.jsxs)("section",{className:`${g.r} grid gap-3`,"data-testid":"outside-party-tools",children:[(0,b.jsx)("h2",{className:"text-section font-semibold",children:"Tools"}),(0,b.jsxs)("p",{className:"text-muted-foreground",children:["The fleet may call only the tools switched on, and a calling ship must hold every scope a tool needs; every ship that may reach ",F.name," reaches the same tools. ",H?null:"Changing them needs gateway:approve."]}),(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(p,{party:F.name}),children:(0,b.jsx)(o,{api:B,fleetId:C,name:F.name,isApprover:H})})]}):null,void 0===I?null:(0,b.jsxs)("section",{className:`${g.r} grid gap-2`,"data-testid":"outside-party-cards",children:[(0,b.jsxs)("h2",{className:"flex justify-between text-section font-semibold",children:[(0,b.jsx)("span",{children:"Card addresses"}),I.isOk?(0,b.jsx)("span",{children:I.value.addresses.length}):null]}),(0,b.jsx)("p",{className:"text-muted-foreground",children:"One per ship its proxy ship reaches now. Its owner hands them to the client."}),I.isOk?0===I.value.addresses.length?(0,b.jsx)("p",{className:"text-muted-foreground",children:"It reaches no ship now."}):(0,b.jsx)("ul",{className:"grid gap-1",children:I.value.addresses.map(a=>(0,b.jsx)("li",{className:"break-all font-mono text-code",children:a},a))}):(0,b.jsx)("p",{className:"text-muted-foreground",children:I.refusal})]}),D.includes("fleet:manage")?(0,b.jsx)("div",{children:(0,b.jsxs)("a",{className:g.x.secondary,href:(0,d.i)((0,i.N)(F.name,"retire"),C),"data-testid":"outside-party-retire",children:["Retire ",F.name,"…"]})}):null]})}a.s(["N",0,t,"W",0,u,"p",0,s,"J",0,r,"b",0,A,"y",0,v],9181)},56786,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call RepeatableSwitch() from the server but RepeatableSwitch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/outside-party/ui/repeatable-switch.tsx","RepeatableSwitch");a.s(["RepeatableSwitch",0,b])},35670,a=>{var b=a.i(56786);a.n(b)}]})();
2
-
3
- //# sourceMappingURL=web_features_outside-party_0_9c27knfvw7u._.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../web/features/outside-party/tools-table/ui/agent-needs.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/outside-party/tools-table/ui/agent-needs.tsx%22%20%7D","../../../../../web/features/outside-party/tools-table/ui/tools-table.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/outside-party/tools-table/ui/tools-table.tsx%22%20%7D","../../../../../web/features/outside-party/ui/outside-party.tsx","../../../../../web/features/outside-parties/scope-words.ts","../../../../../web/features/outside-party/tools-table/table-tools.ts","../../../../../web/features/outside-party/tools-table/ui/tools-section.tsx","../../../../../web/features/outside-party/tools-table/ui/tools-skeleton.tsx","../../../../../web/features/outside-party/ui/repeatable-switch.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/outside-party/ui/repeatable-switch.tsx%22%20%7D"],"sourcesContent":["// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const AgentNeeds = registerClientReference(\n function() { throw new Error(\"Attempted to call AgentNeeds() from the server but AgentNeeds is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/web/features/outside-party/tools-table/ui/agent-needs.tsx\",\n \"AgentNeeds\",\n);\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const ToolsTable = registerClientReference(\n function() { throw new Error(\"Attempted to call ToolsTable() from the server but ToolsTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/web/features/outside-party/tools-table/ui/tools-table.tsx\",\n \"ToolsTable\",\n);\n","import { Suspense, type ReactNode } from 'react';\n\nimport { inFleet } from '../../../lib/gateway-api/page-account';\nimport { readOf, type SignedInPage } from '../../../lib/gateway-api/page-api';\nimport { CREDENTIAL_KINDS } from '../../forms/server-credential';\nimport { BUTTONS, CARD } from '../../forms/ui/look';\nimport { outsideAddressOf, PARTY_KINDS, PARTY_STATES, SIDES, type ListedParty } from '../../outside-parties/party-kinds';\nimport { OUTSIDE_PARTIES_PATH, partyPath } from '../../outside-parties/paths';\nimport { scopeWords } from '../../outside-parties/scope-words';\nimport { StatusBadge, Tag } from '../../outside-parties/ui/status-badge';\nimport { AgentNeeds } from '../tools-table/ui/agent-needs';\nimport { approvalOf, ToolsSection } from '../tools-table/ui/tools-section';\nimport { ToolsSkeleton } from '../tools-table/ui/tools-skeleton';\nimport { RepeatableSwitch } from './repeatable-switch';\n\n/** The scopes that change a party's owner, its scopes, and retire it (0056). */\nexport const OWNING_SCOPE = 'fleet:owner';\nexport const GRANTING_SCOPE = 'scopes:grant';\nexport const RETIRING_SCOPE = 'fleet:manage';\n\n/** The scope that switches a server's tools (aeolus-fleet#1151) and marks an A2A agent (A9). */\nexport const APPROVING_SCOPE = 'gateway:approve';\n\n/** The way back to the list, in the page's fleet. */\nexport function Back({ fleetId }: { fleetId: string }) {\n return (\n <a href={inFleet(OUTSIDE_PARTIES_PATH, fleetId)} className=\"text-muted-foreground hover:text-foreground\">\n ← Outside parties\n </a>\n );\n}\n\n/** Why the API refused: said in place of the page. */\nexport function Refusal({ children }: { children: ReactNode }) {\n return (\n <p role=\"alert\" className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {children}\n </p>\n );\n}\n\n/** What a party's outside address is called on its page. */\nconst ADDRESS_LABELS: Record<ListedParty['kind'], string> = { mcpServer: 'Address', mcpClient: 'Client id', a2aClient: 'Address', a2aAgent: 'Card address' };\n\nconst UNKNOWN = <span className=\"text-muted-foreground\">Not known</span>;\n\nfunction Fact({ label, children }: { label: string; children: ReactNode }) {\n return (\n <div className=\"grid gap-1 sm:grid-cols-[10rem_1fr]\">\n <dt className=\"text-muted-foreground\">{label}</dt>\n <dd className=\"flex flex-wrap items-center gap-2\">{children}</dd>\n </div>\n );\n}\n\n/** The party's head: its name, protocol, side and state. */\nexport function PartyHead({ party }: { party: ListedParty }) {\n const { protocol, side } = PARTY_KINDS[party.kind];\n const state = PARTY_STATES[party.state];\n return (\n <div className=\"flex flex-wrap items-center gap-2\">\n <h1 className=\"text-title font-semibold\">{party.name}</h1>\n <Tag>{protocol}</Tag>\n <Tag>{SIDES[side].one}</Tag>\n <StatusBadge tone={state.tone} label={state.label} />\n </div>\n );\n}\n\n/**\n * One outside party (design B, screens 12 and 14): its proxy ship's state,\n * then its facts as the fleet holds them, and for an MCP server the tools\n * it lists now as a table, with the switch and the scopes each needs\n * (aeolus-fleet#1151, gateway scopes 4.3); for an A2A agent the scopes it\n * needs and its repeatable mark, a switch for an approver (A9). Each control shows only to an account holding\n * its scope; the API checks it again.\n */\nexport async function OutsideParty({ page, name }: { page: SignedInPage; name: string }) {\n const { api, fleetId, scopes } = page;\n const read = await readOf(api.parties.get.query({ name }));\n if (!read.isOk) {\n return (\n <div className=\"grid gap-4\">\n <Back fleetId={fleetId} />\n <Refusal>{read.refusal}</Refusal>\n </div>\n );\n }\n const party = read.value;\n const address = outsideAddressOf(party);\n const isApprover = scopes.includes(APPROVING_SCOPE);\n const [cards, agentNeeds] = await Promise.all([\n party.kind === 'a2aClient' ? readOf(api.parties.cardAddresses.query({ name })) : undefined,\n party.kind === 'a2aAgent' ? Promise.all([readOf(api.parties.scopeRequirements.query({ name })), isApprover ? approvalOf({ api, name }) : { canChange: false, listed: null, reason: null }]) : undefined,\n ]);\n const change = (\n <a href={inFleet(partyPath(party.name, 'change'), fleetId)} className=\"text-primary hover:underline\" data-testid=\"outside-party-change\">\n Change\n </a>\n );\n return (\n <div className=\"grid gap-4\">\n <Back fleetId={fleetId} />\n <PartyHead party={party} />\n <dl className={`${CARD} grid gap-3`}>\n <Fact label=\"Proxy ship\">{party.proxyShipName ?? UNKNOWN}</Fact>\n <Fact label=\"Owner\">\n {party.ownerName ?? UNKNOWN}\n {scopes.includes(OWNING_SCOPE) ? change : null}\n </Fact>\n <Fact label=\"Scopes\">\n {party.scopes === null\n ? UNKNOWN\n : party.scopes.map((scope) => <Tag key={scope}>{scopeWords(scope)}</Tag>)}\n {scopes.includes(GRANTING_SCOPE) ? change : null}\n </Fact>\n {party.kind === 'mcpServer' || party.kind === 'a2aAgent' ? <Fact label=\"Credential\">{CREDENTIAL_KINDS.find(({ kind }) => kind === party.credentialKind)?.label}</Fact> : null}\n {address === null ? null : (\n <Fact label={ADDRESS_LABELS[party.kind]}>\n <span className=\"font-mono\">{address}</span>\n </Fact>\n )}\n {party.kind === 'a2aAgent' ? (\n <>\n <Fact label=\"Messages at once\">{party.concurrencyLimit}</Fact>\n <Fact label=\"Needs\">\n {agentNeeds === undefined ? null : agentNeeds[0].isOk ? (\n <AgentNeeds fleetId={fleetId} party={party.name} version={agentNeeds[0].value.version} scopes={agentNeeds[0].value.party} listed={agentNeeds[1].listed} canChange={agentNeeds[1].canChange} />\n ) : (\n <span className=\"text-muted-foreground\">{agentNeeds[0].refusal}</span>\n )}\n </Fact>\n <Fact label=\"Repeatable\">\n {scopes.includes(APPROVING_SCOPE) ? <RepeatableSwitch fleetId={fleetId} party={party.name} isRepeatable={party.isRepeatable} /> : <Tag>{party.isRepeatable ? 'Repeatable' : 'Not repeatable'}</Tag>}\n </Fact>\n </>\n ) : null}\n </dl>\n {party.kind === 'mcpServer' ? (\n <section className={`${CARD} grid gap-3`} data-testid=\"outside-party-tools\">\n <h2 className=\"text-section font-semibold\">Tools</h2>\n <p className=\"text-muted-foreground\">\n The fleet may call only the tools switched on, and a calling ship must hold every scope a tool needs; every ship that may reach {party.name} reaches the same tools. {isApprover ? null : 'Changing them needs gateway:approve.'}\n </p>\n <Suspense fallback={<ToolsSkeleton party={party.name} />}>\n <ToolsSection api={api} fleetId={fleetId} name={party.name} isApprover={isApprover} />\n </Suspense>\n </section>\n ) : null}\n {cards === undefined ? null : (\n <section className={`${CARD} grid gap-2`} data-testid=\"outside-party-cards\">\n <h2 className=\"flex justify-between text-section font-semibold\">\n <span>Card addresses</span>\n {cards.isOk ? <span>{cards.value.addresses.length}</span> : null}\n </h2>\n <p className=\"text-muted-foreground\">One per ship its proxy ship reaches now. Its owner hands them to the client.</p>\n {!cards.isOk ? (\n <p className=\"text-muted-foreground\">{cards.refusal}</p>\n ) : cards.value.addresses.length === 0 ? (\n <p className=\"text-muted-foreground\">It reaches no ship now.</p>\n ) : (\n <ul className=\"grid gap-1\">\n {cards.value.addresses.map((address) => (\n <li key={address} className=\"break-all font-mono text-code\">\n {address}\n </li>\n ))}\n </ul>\n )}\n </section>\n )}\n {scopes.includes(RETIRING_SCOPE) ? (\n <div>\n <a className={BUTTONS.secondary} href={inFleet(partyPath(party.name, 'retire'), fleetId)} data-testid=\"outside-party-retire\">\n Retire {party.name}…\n </a>\n </div>\n ) : null}\n </div>\n );\n}\n","import { CORE_SCOPE_DESCRIPTIONS, scopeSchema } from '@aeolus-fleet/common';\n\n/** A scope in plain words: what a core scope allows, as the fleet words it (decision 0046); a plugin's scope by its name. */\nexport function scopeWords(scope: string): string {\n const core = scopeSchema.safeParse(scope);\n return core.success ? CORE_SCOPE_DESCRIPTIONS[core.data] : scope;\n}\n","/**\n * The rows of an outside MCP server's tools table (gateway scopes 4.3):\n * each tool the server lists now, with its switch, the hints it gives and\n * the scopes it needs of its own; and the filters an approver narrows them by.\n */\nimport type { Read } from '../../../lib/gateway-api/page-api';\n\n/** A tool as the server lists it now, with its switch, as the API answers it. */\nexport interface ListedTool {\n name: string;\n description?: string | undefined;\n isReadOnly?: boolean | undefined;\n isDestructive?: boolean | undefined;\n isOn: boolean;\n isNew: boolean;\n}\n\n/** A party's required scopes as the API answers them. */\nexport interface PartyRequirements {\n version: number;\n party: string[];\n tools: { tool: string; scopes: string[] }[];\n}\n\n/** One row: the tool, its switch (unknown while the server does not answer), and the scopes it needs of its own. */\nexport interface TableTool {\n name: string;\n description?: string | undefined;\n isReadOnly?: boolean | undefined;\n isDestructive?: boolean | undefined;\n isOn: boolean | null;\n isNew: boolean;\n scopes: readonly string[];\n}\n\n/**\n * The rows: every tool the server lists with what it needs; while the server\n * does not answer, the requirements kept per tool name, so they can still be\n * read and changed.\n */\nexport function tableToolsOf({ read, requirements }: { read: Read<{ tools: ListedTool[] }>; requirements: PartyRequirements }): TableTool[] {\n const own = new Map(requirements.tools.map(({ tool, scopes }) => [tool, scopes]));\n if (!read.isOk) {\n return requirements.tools.map(({ tool, scopes }) => ({ name: tool, isOn: null, isNew: false, scopes }));\n }\n return read.value.tools.map((tool) => ({ ...tool, scopes: own.get(tool.name) ?? [] }));\n}\n\n/** The table's state filter. */\nexport const STATE_FILTERS = [\n { state: 'all', label: 'All' },\n { state: 'on', label: 'On' },\n { state: 'off', label: 'Off' },\n { state: 'new', label: 'New' },\n { state: 'needsNothing', label: 'Needs nothing' },\n] as const;\n\nexport type StateFilter = (typeof STATE_FILTERS)[number]['state'];\n\nfunction isInState(tool: TableTool, { state, partyScopes }: { state: StateFilter; partyScopes: readonly string[] }): boolean {\n switch (state) {\n case 'all':\n return true;\n case 'on':\n return tool.isOn === true;\n case 'off':\n return tool.isOn === false;\n case 'new':\n return tool.isNew;\n case 'needsNothing':\n return partyScopes.length === 0 && tool.scopes.length === 0;\n }\n}\n\n/** The tools whose name holds the text, in any case, and that are in the state picked. */\nexport function shownTools(tools: readonly TableTool[], filter: { name: string; state: StateFilter; partyScopes: readonly string[] }): TableTool[] {\n const name = filter.name.trim().toLowerCase();\n return tools.filter((tool) => tool.name.toLowerCase().includes(name) && isInState(tool, filter));\n}\n\n/** What the page kept since it read the rows: each changed tool's own scopes, and each switched tool's switch. */\nexport interface KeptChanges {\n scopes: ReadonlyMap<string, readonly string[]>;\n switches: ReadonlyMap<string, boolean>;\n}\n\n/** The rows with what was kept since they were read, so a change shows at once rather than when the page reads the server again. */\nexport function keptToolsOf(tools: readonly TableTool[], kept: KeptChanges): TableTool[] {\n return tools.map((tool) => ({ ...tool, scopes: kept.scopes.get(tool.name) ?? tool.scopes, isOn: tool.isOn === null ? null : (kept.switches.get(tool.name) ?? tool.isOn) }));\n}\n","import type { GatewayApi } from '../../../../lib/gateway-api/gateway-api';\nimport { readOf } from '../../../../lib/gateway-api/page-api';\nimport { tableToolsOf } from '../table-tools';\nimport { ToolsTable } from './tools-table';\n\n/** Whether the actor approves the party, and the scopes the fleet lists when it does: what the controls need. */\nexport async function approvalOf({ api, name }: { api: GatewayApi; name: string }) {\n const approving = await readOf(api.parties.approving.query({ name }));\n const canChange = approving.isOk && approving.value.isApproving;\n const listed = canChange ? await readOf(api.parties.listedScopes.query()) : undefined;\n return {\n canChange: canChange && listed?.isOk === true,\n listed: listed?.isOk === true ? listed.value.scopes : null,\n /** Why the controls are not shown, when the actor holds gateway:approve but may not use them now. */\n reason: approving.isOk ? (approving.value.isApproving ? (listed?.isOk === false ? listed.refusal : null) : approving.value.reason) : approving.refusal,\n };\n}\n\n/**\n * An outside MCP server's tools section (gateway scopes 4.3): the tools the\n * server lists now, the scopes each needs, and whether the actor may change\n * them, read side by side. It streams in behind skeleton rows, as the\n * server's tools/list may take a while.\n */\nexport async function ToolsSection({ api, fleetId, name, isApprover }: { api: GatewayApi; fleetId: string; name: string; isApprover: boolean }) {\n const [read, requirements, approval] = await Promise.all([\n readOf(api.parties.tools.query({ name })),\n readOf(api.parties.scopeRequirements.query({ name })),\n isApprover ? approvalOf({ api, name }) : { canChange: false, listed: null, reason: null },\n ]);\n if (!requirements.isOk) {\n return <p className=\"text-muted-foreground\">{requirements.refusal}</p>;\n }\n return (\n <div className=\"grid gap-3\">\n {approval.reason === null ? null : (\n <p className=\"text-muted-foreground\" data-testid=\"tools-table-read-only-reason\">\n You see these read-only: {approval.reason}\n </p>\n )}\n <ToolsTable\n fleetId={fleetId}\n party={name}\n tools={tableToolsOf({ read, requirements: requirements.value })}\n version={requirements.value.version}\n partyScopes={requirements.value.party}\n listed={approval.listed}\n canChange={approval.canChange}\n serverRefusal={read.isOk ? null : read.refusal}\n />\n </div>\n );\n}\n","/** How many rows the table shows while the server's tools/list is read. */\nconst SKELETON_ROWS = 8;\n\n/** The tools table's shape while the server's tools/list is read (gateway scopes 4.3). */\nexport function ToolsSkeleton({ party }: { party: string }) {\n return (\n <div aria-busy=\"true\" aria-label={`Reading the tools ${party} lists`} className=\"grid gap-2\" data-testid=\"tools-table-skeleton\">\n <span className=\"block h-9 w-full animate-pulse rounded-md bg-muted\" />\n {Array.from({ length: SKELETON_ROWS }, (_, row) => (\n <span key={row} className=\"block h-10 animate-pulse rounded-md bg-muted\" />\n ))}\n </div>\n );\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const RepeatableSwitch = registerClientReference(\n function() { throw new Error(\"Attempted to call RepeatableSwitch() from the server but RepeatableSwitch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/web/features/outside-party/ui/repeatable-switch.tsx\",\n \"RepeatableSwitch\",\n);\n"],"names":["AgentNeeds","Error","ToolsTable","scopeWords","scope","core","safeParse","success","data","RepeatableSwitch"],"mappings":"6CAEO,IAAMA,EAAa,CAAA,EAAA,AAD1B,EAAA,CAAA,CAAA,OAC0B,uBAAA,AAAuB,EAC7C,WAAa,MAAUC,AAAJ,MAAU,kOAAoO,EACjQ,sEACA,mFCHG,IAAMC,EAAa,CAAA,EAD1B,AAC0B,EAD1B,CAAA,CAAA,OAC0B,uBAAA,AAAuB,EAC7C,WAAa,MAAM,AAAID,MAAM,kOAAoO,EACjQ,sEACA,mGCLJ,EAAA,EAAA,CAAA,CAAA,KAEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCPA,EAAA,EAAA,CAAA,CAAA,MDSA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MGPA,EAAA,EAAA,CAAA,CAAA,OAGO,eAAe,EAAW,KAAE,CAAG,MAAE,CAAI,CAAqC,EAC/E,IAAM,EAAY,MAAM,CAAA,EAAA,EAAA,CAAA,AAAM,EAAC,EAAI,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,MAAE,CAAK,IAC5D,EAAY,EAAU,IAAI,EAAI,EAAU,KAAK,CAAC,WAAW,CACzD,EAA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AACgC,EADhC,CAAA,CAAA,OACgC,uBAAA,AAAuB,EACnD,WAAa,MAAM,AAAIR,MAAM,8OAAgP,EAC7Q,gEACA","ignoreList":[0,1,7]}
@@ -1 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78680,e=>{e.i(47167);var r=e.i(71645),t=e.i(74080),s=e.i(26674),n=e.i(43476);let a=r.forwardRef(function(e,a){let{children:d,container:l,className:i,render:o,style:c,...u}=e,{node:m,subtree:p}=(0,s.o)({container:l,ref:a,componentProps:e,elementProps:u});return p||m?(0,n.jsxs)(r.Fragment,{children:[p,m&&t.createPortal(d,m)]}):null});e.s(["f",0,a])},27921,e=>{var r=e.i(43476),t=e.i(71645),s=e.i(28008),n=e.i(62052),a=e.i(30402),d=e.i(94984),l=e.i(65818),i=e.i(58107),o=e.i(25621),c=e.i(97e3);function u({tool:e,control:t,testId:s}){let{name:n,description:a,isReadOnly:d,isNew:l=!1}=e,i=void 0===a?"":a.split("\n").map(e=>e.trim()).find(e=>""!==e)??"",o=void 0!==a&&a.trim()!==i;return(0,r.jsxs)("li",{className:"grid gap-1 border-b border-border py-2 last:border-b-0","data-testid":s,children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t,(0,r.jsx)("span",{className:"font-mono",children:n}),d?(0,r.jsx)(c.E,{children:"reads only"}):null,l?(0,r.jsx)(c.T,{tone:"attention",label:"New"}):null]}),""===i?null:o?(0,r.jsxs)("details",{className:"text-muted-foreground",children:[(0,r.jsx)("summary",{className:"cursor-pointer",children:i}),(0,r.jsx)("p",{className:"mt-1 whitespace-pre-line",children:a})]}):(0,r.jsx)("p",{className:"text-muted-foreground",children:i})]})}var m=e.i(95187);let p=(0,m.createServerReference)("60804c310955bcef699dbbb746b8d001468d4716dd",m.callServer,void 0,m.findSourceMapURL,"approveServer"),x=(0,m.createServerReference)("6056c3e976cb0a511aec12ef3298fa78f6187f933c",m.callServer,void 0,m.findSourceMapURL,"checkServer"),h=["Address","Check","Owner"],f=["url","credentialKind","token","clientId","clientSecret","issuer","scope"];function b({at:e}){return(0,r.jsx)("ol",{className:"flex gap-4",children:h.map((t,s)=>(0,r.jsxs)("li",{"aria-current":s===e?"step":void 0,className:s<=e?"font-medium":"text-muted-foreground",children:[s+1," ",t]},t))})}function g({refusal:e}){return void 0===e?null:(0,r.jsx)(d.f,{state:{kind:"refused",message:e}})}function j({state:e,action:t,fleetId:d}){return(0,r.jsxs)("form",{action:t,className:`${a.r} grid gap-3`,"data-testid":"add-server-address",children:[(0,r.jsx)("input",{type:"hidden",name:s.H,value:d}),(0,r.jsx)(g,{refusal:e.refusal}),(0,r.jsxs)("label",{className:a.z,children:[(0,r.jsx)("span",{children:"Streamable HTTP address"}),(0,r.jsx)("input",{className:a.w,type:"url",name:"url",defaultValue:e.fields.url??"",placeholder:"https://mcp.example.com/mcp",required:!0})]}),(0,r.jsx)(n.f,{legend:"The server's credential",fields:e.fields,noneHelp:"The gateway sends no credential: for a server reached only on a private network."}),(0,r.jsx)("div",{children:(0,r.jsx)(i.f,{pending:"Checking the server…",testId:"add-server-check",children:"Check the server"})})]})}function v({tools:e,canSwitch:s}){let[n,a]=(0,t.useState)(new Set),d=e.length-n.size;return(0,r.jsxs)("section",{className:"grid gap-2","data-testid":"add-server-tools",children:[(0,r.jsxs)("h2",{className:"flex flex-wrap justify-between gap-2 text-section font-semibold",children:[(0,r.jsxs)("span",{children:["The server answers: ",e.length," ",1===e.length?"tool":"tools"]}),s?(0,r.jsxs)("span",{role:"status",className:"font-normal text-muted-foreground","data-testid":"add-server-tools-on",children:[d," of ",e.length," on"]}):null]}),(0,r.jsx)("p",{className:"text-muted-foreground",children:s?"The fleet may call only the tools switched on. A tool the server adds later starts off.":"Switching tools needs gateway:approve: every tool starts on, and an approver switches them on its page."}),(0,r.jsx)("ul",{className:"grid",children:e.map(e=>{let t=!n.has(e.name);return(0,r.jsx)(u,{tool:e,testId:"add-server-tool",control:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{type:"hidden",name:"toolShown",value:e.name}),t?(0,r.jsx)("input",{type:"hidden",name:"toolOn",value:e.name}):null,(0,r.jsx)(o.f,{isOn:t,label:e.name,onClick:()=>{var r;r=e.name,a(e=>{let t=new Set(e);return t.delete(r)||t.add(r),t})}})]}):null},e.name)})})]})}function w({state:e,refused:n,action:d,onBack:o,fleetId:c,canSwitchTools:u}){let m,p="refused"===n.kind&&n.requestId===e.requestId,x=p?n.fields:e.fields,h=x.url??"",[b,j]=(0,t.useState)(x.name??function(e){if(!URL.canParse(e))return"";let{hostname:r}=new URL(e);return/^\d+(\.\d+){3}$/.test(r)||r.startsWith("[")?"":(r.split(".").filter(e=>"mcp"!==e&&"www"!==e)[0]??"").toLowerCase().replaceAll(/[^a-z0-9]+/g,"-").replaceAll(/^-+|-+$/g,"")}(h));return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("form",{action:d,className:`${a.r} grid gap-3`,"data-testid":"add-server-owner",children:[(0,r.jsx)(v,{tools:e.tools,canSwitch:u}),(0,r.jsx)("h2",{className:"text-section font-semibold",children:"Its owner"}),(0,r.jsx)(g,{refusal:p?n.message:void 0}),(0,r.jsx)("input",{type:"hidden",name:s.H,value:c}),(0,r.jsx)("input",{type:"hidden",name:"requestId",value:e.requestId}),f.map(e=>(0,r.jsx)("input",{type:"hidden",name:e,value:x[e]??""},e)),(0,r.jsx)("p",{className:"font-mono text-muted-foreground",children:h}),(0,r.jsxs)("label",{className:a.z,children:[(0,r.jsx)("span",{children:"Proxy ship's name"}),(0,r.jsx)("input",{className:a.w,type:"text",name:"name",value:b,onChange:e=>{j(e.target.value)},required:!0})]}),(0,r.jsx)(l.f,{choices:e.owners,current:e.owners.find(e=>e.shipId===x.ownerShipId)??null,help:"A person ship or argo. It answers for this server."}),(0,r.jsxs)("label",{className:a.z,children:[(0,r.jsx)("span",{children:"Calls at once"}),(0,r.jsx)("input",{className:a.w,type:"number",name:"concurrencyLimit",min:1,max:10,defaultValue:x.concurrencyLimit??"4"})]}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(i.f,{pending:"Adding…",testId:"add-server-approve",children:""===(m=b.trim())?"Add as outside party":m.length>20?`Add ${m.slice(0,20)}…`:`Add ${m}`}),(0,r.jsx)("button",{type:"button",className:a.x.secondary,onClick:o,children:"Back to the address"})]})]})})}e.s(["AddServer",0,function({fleetId:e,canSwitchTools:s}){let[n,a]=(0,t.useActionState)(x,{step:"address",fields:{}}),[d,l]=(0,t.useActionState)(p,{kind:"idle"}),[i,o]=(0,t.useState)(void 0),c="owner"===n.step&&i!==n.requestId?n:void 0;return(0,r.jsxs)("div",{className:"grid gap-4",children:[(0,r.jsx)("h1",{className:"text-title font-semibold",children:"Add MCP server"}),(0,r.jsx)(b,{at:2*(void 0!==c)}),void 0===c?(0,r.jsx)(j,{state:n,action:a,fleetId:e}):(0,r.jsx)(w,{state:c,refused:d,action:l,onBack:()=>{o(c.requestId)},fleetId:e,canSwitchTools:s})]})}],27921)},28008,e=>{e.s(["H",0,"fleet","Q",0,{kind:"idle"}])},88374,e=>{let r=[{kind:"none",label:"No credential"},{kind:"bearer",label:"Bearer token"},{kind:"clientCredentials",label:"OAuth client credentials"}];e.s(["x",0,r,"C",0,function(e){return r.find(({kind:r})=>r===e)?.kind??"bearer"}])},62052,e=>{var r=e.i(43476),t=e.i(71645),s=e.i(88374),n=e.i(30402);e.s(["f",0,function({legend:e,fields:a,noneHelp:d}){let[l,i]=(0,t.useState)((0,s.C)(a.credentialKind??""));return(0,r.jsxs)("fieldset",{className:"grid gap-3",children:[(0,r.jsx)("legend",{className:"font-medium",children:e}),(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Credential"}),(0,r.jsx)("select",{className:n.w,name:"credentialKind",value:l,onChange:e=>{i((0,s.C)(e.target.value))},children:s.x.map(({kind:e,label:t})=>(0,r.jsx)("option",{value:e,children:t},e))})]}),"clientCredentials"===l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Client id"}),(0,r.jsx)("input",{className:n.w,type:"text",name:"clientId",defaultValue:a.clientId??""})]}),(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Client secret"}),(0,r.jsx)("input",{className:n.w,type:"password",name:"clientSecret"})]}),(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Issuer"}),(0,r.jsx)("input",{className:n.w,type:"url",name:"issuer",defaultValue:a.issuer??""})]}),(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Scope"}),(0,r.jsx)("input",{className:n.w,type:"text",name:"scope",defaultValue:a.scope??""})]})]}):"bearer"===l?(0,r.jsxs)("label",{className:n.z,children:[(0,r.jsx)("span",{children:"Bearer token"}),(0,r.jsx)("input",{className:n.w,type:"password",name:"token"})]}):(0,r.jsx)("p",{className:"text-muted-foreground",children:d})]})}])},30402,e=>{let r="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",t={primary:`${r} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${r} border border-border bg-card hover:bg-accent`,destructive:`${r} bg-destructive text-destructive-foreground`};e.s(["x",0,t,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},94984,58107,e=>{var r=e.i(43476);e.s(["f",0,function({state:e,testId:t}){switch(e.kind){case"idle":return null;case"done":return(0,r.jsx)("p",{role:"status","data-testid":t,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e.message});case"refused":case"openNetwork":return(0,r.jsx)("p",{role:"alert","data-testid":t,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e.message})}}],94984);var t=e.i(74080),s=e.i(30402);e.s(["f",0,function({children:e,pending:n,kind:a="primary",testId:d}){let l=(0,t.useFormStatus)();return(0,r.jsx)("button",{type:"submit",className:s.x[a],disabled:l.pending,"aria-busy":l.pending,"data-testid":d,children:l.pending?n:e})}],58107)},65818,e=>{var r=e.i(43476),t=e.i(30402);e.s(["f",0,function({choices:e,current:s,help:n,refusal:a}){let d=null===s||e.some(e=>e.shipId===s.shipId)?e:[s,...e];return(0,r.jsxs)("label",{className:t.z,children:[(0,r.jsx)("span",{children:"Owner"}),(0,r.jsxs)("select",{className:t.w,name:"ownerShipId",defaultValue:s?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===s?(0,r.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,d.map(e=>(0,r.jsx)("option",{value:e.shipId,children:e.name},e.shipId))]}),(0,r.jsx)("span",{className:"text-muted-foreground",children:a??n})]})}])},97e3,e=>{var r=e.i(43476);let t={waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",active:"border-tone-active-border bg-tone-active-bg text-tone-active-fg",ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg",ended:"border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg"};e.s(["T",0,function({tone:e,label:s}){return(0,r.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 text-caption ${t[e]}`,children:s})},"E",0,function({children:e,isMono:t=!1}){return(0,r.jsx)("span",{className:`inline-flex items-center rounded-md border border-border px-2 text-caption ${t?"font-mono":""}`,children:e})}])},38314,e=>{var r=e.i(43476);let t={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent"};e.s(["f",0,function({isPending:e,pendingLabel:s,variant:n="secondary",children:a,className:d="",disabled:l,...i}){return(0,r.jsx)("button",{...i,disabled:!0===l||e,"aria-busy":e,className:`inline-flex h-9 items-center gap-2 rounded-md px-4 disabled:cursor-not-allowed disabled:opacity-70 ${t[n]} ${d}`,children:e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),s]}):a})}])}])})();
@@ -1 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21611,e=>{var d=e.i(43476),r=e.i(71645),n=e.i(65894),s=e.i(28008),t=e.i(30402),a=e.i(94984),i=e.i(65818),o=e.i(58107),l=e.i(90526),c=e.i(95187);let u=(0,c.createServerReference)("60350dceff9f847b9f3aa216242f998eef71e1a8ac",c.callServer,void 0,c.findSourceMapURL,"addA2aClient"),p={kind:"idle"};function m({name:e,bearer:r,fleetId:s}){return(0,d.jsxs)("section",{className:`${t.r} grid gap-3`,"data-testid":"add-a2a-client-added",children:[(0,d.jsxs)("h2",{className:"text-section font-semibold",children:[e," is added"]}),(0,d.jsx)("p",{children:"Hand its client this bearer now. It is shown only once: the gateway keeps no copy it can show again."}),(0,d.jsx)("code",{className:"break-all rounded-md border border-border bg-background px-3 py-2 font-mono text-code","data-testid":"add-a2a-client-bearer",children:r}),(0,d.jsx)("p",{children:(0,d.jsx)("a",{href:(0,n.f)(`/outside-parties/${encodeURIComponent(e)}`,s),className:"text-primary hover:underline",children:"Its card addresses"})})]})}e.s(["A2aClientForm",0,function({fleetId:e,requestId:n,owners:c,scopes:h}){let[x,b]=(0,r.useActionState)(u,p);return"added"===x.kind?(0,d.jsx)(m,{name:x.name,bearer:x.bearer,fleetId:e}):(0,d.jsxs)("form",{action:b,className:`${t.r} grid gap-3`,"data-testid":"add-a2a-client-form",children:[(0,d.jsx)("input",{type:"hidden",name:s.H,value:e}),(0,d.jsx)("input",{type:"hidden",name:"requestId",value:n}),(0,d.jsx)("h1",{className:"text-title font-semibold",children:"Add an A2A client"}),(0,d.jsxs)("label",{className:t.z,children:[(0,d.jsx)("span",{children:"Name, the proxy ship's"}),(0,d.jsx)("input",{className:t.w,name:"name",required:!0})]}),(0,d.jsx)(i.f,{choices:c.isOk?c.value:[],current:null,help:"A person ship or argo. It answers for this client.",refusal:c.isOk?void 0:c.refusal}),0===h.length?null:(0,d.jsxs)("fieldset",{className:"grid gap-2",children:[(0,d.jsx)("legend",{className:"font-medium",children:"Scopes, beside sending and receiving"}),h.map(e=>(0,d.jsxs)("label",{className:"flex items-center gap-2",children:[(0,d.jsx)("input",{type:"checkbox",name:`${l.f}${e}`}),(0,d.jsx)("span",{className:"font-mono text-code",children:e})]},e))]}),(0,d.jsx)("div",{children:(0,d.jsx)(o.f,{pending:"Adding…",children:"Add"})}),(0,d.jsx)(a.f,{state:"refused"===x.kind?x:{kind:"idle"}})]})}],21611)},28008,e=>{e.s(["H",0,"fleet","Q",0,{kind:"idle"}])},30402,e=>{let d="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",r={primary:`${d} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${d} border border-border bg-card hover:bg-accent`,destructive:`${d} bg-destructive text-destructive-foreground`};e.s(["x",0,r,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},94984,58107,e=>{var d=e.i(43476);e.s(["f",0,function({state:e,testId:r}){switch(e.kind){case"idle":return null;case"done":return(0,d.jsx)("p",{role:"status","data-testid":r,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e.message});case"refused":case"openNetwork":return(0,d.jsx)("p",{role:"alert","data-testid":r,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e.message})}}],94984);var r=e.i(74080),n=e.i(30402);e.s(["f",0,function({children:e,pending:s,kind:t="primary",testId:a}){let i=(0,r.useFormStatus)();return(0,d.jsx)("button",{type:"submit",className:n.x[t],disabled:i.pending,"aria-busy":i.pending,"data-testid":a,children:i.pending?s:e})}],58107)},65818,e=>{var d=e.i(43476),r=e.i(30402);e.s(["f",0,function({choices:e,current:n,help:s,refusal:t}){let a=null===n||e.some(e=>e.shipId===n.shipId)?e:[n,...e];return(0,d.jsxs)("label",{className:r.z,children:[(0,d.jsx)("span",{children:"Owner"}),(0,d.jsxs)("select",{className:r.w,name:"ownerShipId",defaultValue:n?.shipId??"",required:!0,"data-testid":"owner-field",children:[null===n?(0,d.jsx)("option",{value:"",disabled:!0,children:"Pick its owner"}):null,a.map(e=>(0,d.jsx)("option",{value:e.shipId,children:e.name},e.shipId))]}),(0,d.jsx)("span",{className:"text-muted-foreground",children:t??s})]})}])},90526,e=>{e.s(["f",0,"scope:"])}])})();