@aeolus-fleet/gateway 0.32.2 → 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.
- package/README.md +34 -5
- package/dist/adapters/crypto/party-sign-in-seals.d.ts +3 -0
- package/dist/adapters/crypto/party-sign-in-seals.js +15 -0
- package/dist/adapters/crypto/party-sign-in-seals.js.map +1 -0
- package/dist/adapters/crypto/slack-install-seals.d.ts +3 -0
- package/dist/adapters/crypto/slack-install-seals.js +15 -0
- package/dist/adapters/crypto/slack-install-seals.js.map +1 -0
- package/dist/adapters/crypto/slack-link-seals.d.ts +3 -0
- package/dist/adapters/crypto/slack-link-seals.js +15 -0
- package/dist/adapters/crypto/slack-link-seals.js.map +1 -0
- package/dist/adapters/crypto/slack-signatures.d.ts +3 -0
- package/dist/adapters/crypto/slack-signatures.js +14 -0
- package/dist/adapters/crypto/slack-signatures.js.map +1 -0
- package/dist/adapters/fleet/rest-fleet-door.js +2 -2
- package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
- package/dist/adapters/fleet/ship-names.d.ts +7 -0
- package/dist/adapters/fleet/ship-names.js +25 -0
- package/dist/adapters/fleet/ship-names.js.map +1 -0
- package/dist/adapters/fleet/slack-ships.d.ts +15 -0
- package/dist/adapters/fleet/slack-ships.js +32 -0
- package/dist/adapters/fleet/slack-ships.js.map +1 -0
- package/dist/adapters/http/mcp-endpoint.js +1 -1
- package/dist/adapters/http/mcp-endpoint.js.map +1 -1
- package/dist/adapters/http/oauth-routes.d.ts +4 -1
- package/dist/adapters/http/oauth-routes.js +21 -9
- package/dist/adapters/http/oauth-routes.js.map +1 -1
- package/dist/adapters/http/openai-apps-challenge.d.ts +10 -0
- package/dist/adapters/http/openai-apps-challenge.js +9 -0
- package/dist/adapters/http/openai-apps-challenge.js.map +1 -0
- package/dist/adapters/http/party-sign-in-routes.d.ts +25 -0
- package/dist/adapters/http/party-sign-in-routes.js +45 -0
- package/dist/adapters/http/party-sign-in-routes.js.map +1 -0
- package/dist/adapters/http/person-tools.d.ts +24 -1
- package/dist/adapters/http/person-tools.js +43 -11
- package/dist/adapters/http/person-tools.js.map +1 -1
- package/dist/adapters/http/slack-routes.d.ts +15 -0
- package/dist/adapters/http/slack-routes.js +188 -0
- package/dist/adapters/http/slack-routes.js.map +1 -0
- package/dist/adapters/mcp/mcp-servers.js +22 -4
- package/dist/adapters/mcp/mcp-servers.js.map +1 -1
- package/dist/adapters/oauth/authorization-servers.d.ts +2 -0
- package/dist/adapters/oauth/authorization-servers.js +127 -0
- package/dist/adapters/oauth/authorization-servers.js.map +1 -0
- package/dist/adapters/oauth/party-sign-ins.d.ts +2 -0
- package/dist/adapters/oauth/party-sign-ins.js +152 -0
- package/dist/adapters/oauth/party-sign-ins.js.map +1 -0
- package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
- package/dist/adapters/prisma/fleet-forgetter.js +2 -2
- package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +35 -0
- package/dist/adapters/prisma/generated/client.d.ts +35 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +77 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +629 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +97 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +103 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +97 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/PartyGrant.d.ts +1276 -0
- package/dist/adapters/prisma/generated/models/PartyGrant.js +2 -0
- package/dist/adapters/prisma/generated/models/PartyGrant.js.map +1 -0
- package/dist/adapters/prisma/generated/models/PartySignInNotice.d.ts +1003 -0
- package/dist/adapters/prisma/generated/models/PartySignInNotice.js +2 -0
- package/dist/adapters/prisma/generated/models/PartySignInNotice.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SlackApp.d.ts +1229 -0
- package/dist/adapters/prisma/generated/models/SlackApp.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackApp.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SlackEvent.d.ts +1232 -0
- package/dist/adapters/prisma/generated/models/SlackEvent.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackEvent.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SlackLink.d.ts +1126 -0
- package/dist/adapters/prisma/generated/models/SlackLink.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackLink.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SlackPost.d.ts +1174 -0
- package/dist/adapters/prisma/generated/models/SlackPost.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackPost.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SlackWorkspace.d.ts +1143 -0
- package/dist/adapters/prisma/generated/models/SlackWorkspace.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackWorkspace.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +7 -0
- package/dist/adapters/prisma/party-grants.d.ts +10 -0
- package/dist/adapters/prisma/party-grants.js +118 -0
- package/dist/adapters/prisma/party-grants.js.map +1 -0
- package/dist/adapters/prisma/party-store.js +21 -2
- package/dist/adapters/prisma/party-store.js.map +1 -1
- package/dist/adapters/prisma/sign-in-notices.d.ts +8 -0
- package/dist/adapters/prisma/sign-in-notices.js +22 -0
- package/dist/adapters/prisma/sign-in-notices.js.map +1 -0
- package/dist/adapters/prisma/slack-events.d.ts +8 -0
- package/dist/adapters/prisma/slack-events.js +55 -0
- package/dist/adapters/prisma/slack-events.js.map +1 -0
- package/dist/adapters/prisma/slack-links.d.ts +8 -0
- package/dist/adapters/prisma/slack-links.js +49 -0
- package/dist/adapters/prisma/slack-links.js.map +1 -0
- package/dist/adapters/prisma/slack-posts.d.ts +4 -0
- package/dist/adapters/prisma/slack-posts.js +38 -0
- package/dist/adapters/prisma/slack-posts.js.map +1 -0
- package/dist/adapters/prisma/slack-stores.d.ts +6 -0
- package/dist/adapters/prisma/slack-stores.js +115 -0
- package/dist/adapters/prisma/slack-stores.js.map +1 -0
- package/dist/adapters/slack/slack-call.d.ts +15 -0
- package/dist/adapters/slack/slack-call.js +41 -0
- package/dist/adapters/slack/slack-call.js.map +1 -0
- package/dist/adapters/slack/slack-messages.d.ts +4 -0
- package/dist/adapters/slack/slack-messages.js +53 -0
- package/dist/adapters/slack/slack-messages.js.map +1 -0
- package/dist/adapters/slack/slack-sign-in.d.ts +4 -0
- package/dist/adapters/slack/slack-sign-in.js +33 -0
- package/dist/adapters/slack/slack-sign-in.js.map +1 -0
- package/dist/adapters/slack/slack-tooling.d.ts +6 -0
- package/dist/adapters/slack/slack-tooling.js +68 -0
- package/dist/adapters/slack/slack-tooling.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +286 -10
- package/dist/adapters/trpc/router.js +263 -11
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.d.ts +6 -0
- package/dist/app.js +225 -21
- package/dist/app.js.map +1 -1
- package/dist/bin/aeolus-gateway.js +2 -0
- package/dist/bin/aeolus-gateway.js.map +1 -1
- package/dist/config.d.ts +8 -0
- package/dist/config.js +4 -0
- package/dist/config.js.map +1 -1
- package/dist/core/connection/connect.d.ts +12 -0
- package/dist/core/connection/connect.js +11 -4
- package/dist/core/connection/connect.js.map +1 -1
- package/dist/core/connection/declare-gateway-scopes.d.ts +15 -0
- package/dist/core/connection/declare-gateway-scopes.js +23 -0
- package/dist/core/connection/declare-gateway-scopes.js.map +1 -0
- package/dist/core/connection/ports.d.ts +5 -0
- package/dist/core/mcp-out/grant-calls.d.ts +69 -0
- package/dist/core/mcp-out/grant-calls.js +98 -0
- package/dist/core/mcp-out/grant-calls.js.map +1 -0
- package/dist/core/mcp-out/hand-call.d.ts +6 -1
- package/dist/core/mcp-out/hand-call.js +23 -2
- package/dist/core/mcp-out/hand-call.js.map +1 -1
- package/dist/core/mcp-out/ports.d.ts +6 -2
- package/dist/core/mcp-out/state-party.d.ts +5 -2
- package/dist/core/mcp-out/state-party.js +7 -2
- package/dist/core/mcp-out/state-party.js.map +1 -1
- package/dist/core/oauth/exchange-token.d.ts +1 -0
- package/dist/core/oauth/exchange-token.js +4 -3
- package/dist/core/oauth/exchange-token.js.map +1 -1
- package/dist/core/oauth/read-authorization.d.ts +3 -3
- package/dist/core/oauth/read-authorization.js +6 -5
- package/dist/core/oauth/read-authorization.js.map +1 -1
- package/dist/core/parties/add-sign-in-server.d.ts +25 -0
- package/dist/core/parties/add-sign-in-server.js +70 -0
- package/dist/core/parties/add-sign-in-server.js.map +1 -0
- package/dist/core/parties/approve-party.d.ts +2 -2
- package/dist/core/parties/check-approving.d.ts +3 -3
- package/dist/core/parties/check-approving.js +2 -2
- package/dist/core/parties/check-approving.js.map +1 -1
- package/dist/core/parties/party.d.ts +3 -2
- package/dist/core/parties/party.js +4 -1
- package/dist/core/parties/party.js.map +1 -1
- package/dist/core/parties/ports.d.ts +49 -0
- package/dist/core/parties/read-party-tools.d.ts +5 -2
- package/dist/core/parties/read-party-tools.js +7 -2
- package/dist/core/parties/read-party-tools.js.map +1 -1
- package/dist/core/parties/retire-party.d.ts +5 -1
- package/dist/core/parties/retire-party.js +6 -1
- package/dist/core/parties/retire-party.js.map +1 -1
- package/dist/core/parties/shown-party.d.ts +2 -2
- package/dist/core/parties/sign-in-servers.d.ts +4 -0
- package/dist/core/parties/sign-in-servers.js +13 -0
- package/dist/core/parties/sign-in-servers.js.map +1 -0
- package/dist/core/parties/switch-tools.d.ts +3 -1
- package/dist/core/parties/switch-tools.js +5 -1
- package/dist/core/parties/switch-tools.js.map +1 -1
- package/dist/core/party-grants/approved-sign-in-party.d.ts +17 -0
- package/dist/core/party-grants/approved-sign-in-party.js +21 -0
- package/dist/core/party-grants/approved-sign-in-party.js.map +1 -0
- package/dist/core/party-grants/call-grant.d.ts +46 -0
- package/dist/core/party-grants/call-grant.js +30 -0
- package/dist/core/party-grants/call-grant.js.map +1 -0
- package/dist/core/party-grants/complete-party-sign-in.d.ts +52 -0
- package/dist/core/party-grants/complete-party-sign-in.js +95 -0
- package/dist/core/party-grants/complete-party-sign-in.js.map +1 -0
- package/dist/core/party-grants/end-account-grants.d.ts +18 -0
- package/dist/core/party-grants/end-account-grants.js +16 -0
- package/dist/core/party-grants/end-account-grants.js.map +1 -0
- package/dist/core/party-grants/end-grant.d.ts +23 -0
- package/dist/core/party-grants/end-grant.js +33 -0
- package/dist/core/party-grants/end-grant.js.map +1 -0
- package/dist/core/party-grants/end-party-grants.d.ts +19 -0
- package/dist/core/party-grants/end-party-grants.js +31 -0
- package/dist/core/party-grants/end-party-grants.js.map +1 -0
- package/dist/core/party-grants/end-retired-persons-grants.d.ts +19 -0
- package/dist/core/party-grants/end-retired-persons-grants.js +30 -0
- package/dist/core/party-grants/end-retired-persons-grants.js.map +1 -0
- package/dist/core/party-grants/keep-grants-alive.d.ts +18 -0
- package/dist/core/party-grants/keep-grants-alive.js +19 -0
- package/dist/core/party-grants/keep-grants-alive.js.map +1 -0
- package/dist/core/party-grants/list-grants.d.ts +30 -0
- package/dist/core/party-grants/list-grants.js +34 -0
- package/dist/core/party-grants/list-grants.js.map +1 -0
- package/dist/core/party-grants/listing-connection.d.ts +29 -0
- package/dist/core/party-grants/listing-connection.js +17 -0
- package/dist/core/party-grants/listing-connection.js.map +1 -0
- package/dist/core/party-grants/party-grant.d.ts +50 -0
- package/dist/core/party-grants/party-grant.js +26 -0
- package/dist/core/party-grants/party-grant.js.map +1 -0
- package/dist/core/party-grants/ports.d.ts +180 -0
- package/dist/core/party-grants/ports.js +2 -0
- package/dist/core/party-grants/ports.js.map +1 -0
- package/dist/core/party-grants/read-own-grant.d.ts +33 -0
- package/dist/core/party-grants/read-own-grant.js +23 -0
- package/dist/core/party-grants/read-own-grant.js.map +1 -0
- package/dist/core/party-grants/refresh-grant.d.ts +41 -0
- package/dist/core/party-grants/refresh-grant.js +58 -0
- package/dist/core/party-grants/refresh-grant.js.map +1 -0
- package/dist/core/party-grants/remove-grant.d.ts +21 -0
- package/dist/core/party-grants/remove-grant.js +25 -0
- package/dist/core/party-grants/remove-grant.js.map +1 -0
- package/dist/core/party-grants/remove-own-grant.d.ts +17 -0
- package/dist/core/party-grants/remove-own-grant.js +21 -0
- package/dist/core/party-grants/remove-own-grant.js.map +1 -0
- package/dist/core/party-grants/sign-in-party.d.ts +23 -0
- package/dist/core/party-grants/sign-in-party.js +22 -0
- package/dist/core/party-grants/sign-in-party.js.map +1 -0
- package/dist/core/party-grants/start-party-sign-in.d.ts +31 -0
- package/dist/core/party-grants/start-party-sign-in.js +31 -0
- package/dist/core/party-grants/start-party-sign-in.js.map +1 -0
- package/dist/core/party-grants/tell-sign-in-needed.d.ts +29 -0
- package/dist/core/party-grants/tell-sign-in-needed.js +27 -0
- package/dist/core/party-grants/tell-sign-in-needed.js.map +1 -0
- package/dist/core/people/ports.d.ts +23 -2
- package/dist/core/people/wake-person.d.ts +9 -2
- package/dist/core/people/wake-person.js +33 -9
- package/dist/core/people/wake-person.js.map +1 -1
- package/dist/core/shared/errors.d.ts +1 -1
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/sign-in/start-sign-in.d.ts +4 -1
- package/dist/core/sign-in/start-sign-in.js +8 -2
- package/dist/core/sign-in/start-sign-in.js.map +1 -1
- package/dist/core/slack/answer-in-slack.d.ts +41 -0
- package/dist/core/slack/answer-in-slack.js +59 -0
- package/dist/core/slack/answer-in-slack.js.map +1 -0
- package/dist/core/slack/complete-install.d.ts +27 -0
- package/dist/core/slack/complete-install.js +36 -0
- package/dist/core/slack/complete-install.js.map +1 -0
- package/dist/core/slack/complete-link.d.ts +41 -0
- package/dist/core/slack/complete-link.js +64 -0
- package/dist/core/slack/complete-link.js.map +1 -0
- package/dist/core/slack/connect-slack.d.ts +34 -0
- package/dist/core/slack/connect-slack.js +54 -0
- package/dist/core/slack/connect-slack.js.map +1 -0
- package/dist/core/slack/disconnect-slack.d.ts +21 -0
- package/dist/core/slack/disconnect-slack.js +31 -0
- package/dist/core/slack/disconnect-slack.js.map +1 -0
- package/dist/core/slack/expose-ship.d.ts +35 -0
- package/dist/core/slack/expose-ship.js +59 -0
- package/dist/core/slack/expose-ship.js.map +1 -0
- package/dist/core/slack/follow-exposed-ships.d.ts +20 -0
- package/dist/core/slack/follow-exposed-ships.js +43 -0
- package/dist/core/slack/follow-exposed-ships.js.map +1 -0
- package/dist/core/slack/gateway-bot.d.ts +20 -0
- package/dist/core/slack/gateway-bot.js +22 -0
- package/dist/core/slack/gateway-bot.js.map +1 -0
- package/dist/core/slack/kept-slack-event.d.ts +32 -0
- package/dist/core/slack/kept-slack-event.js +5 -0
- package/dist/core/slack/kept-slack-event.js.map +1 -0
- package/dist/core/slack/list-exposable.d.ts +25 -0
- package/dist/core/slack/list-exposable.js +32 -0
- package/dist/core/slack/list-exposable.js.map +1 -0
- package/dist/core/slack/ports.d.ts +287 -0
- package/dist/core/slack/ports.js +2 -0
- package/dist/core/slack/ports.js.map +1 -0
- package/dist/core/slack/read-slack-link.d.ts +23 -0
- package/dist/core/slack/read-slack-link.js +20 -0
- package/dist/core/slack/read-slack-link.js.map +1 -0
- package/dist/core/slack/read-slack.d.ts +42 -0
- package/dist/core/slack/read-slack.js +35 -0
- package/dist/core/slack/read-slack.js.map +1 -0
- package/dist/core/slack/remove-bot.d.ts +24 -0
- package/dist/core/slack/remove-bot.js +33 -0
- package/dist/core/slack/remove-bot.js.map +1 -0
- package/dist/core/slack/rotate-configuration-tokens.d.ts +13 -0
- package/dist/core/slack/rotate-configuration-tokens.js +14 -0
- package/dist/core/slack/rotate-configuration-tokens.js.map +1 -0
- package/dist/core/slack/send-slack-events.d.ts +32 -0
- package/dist/core/slack/send-slack-events.js +106 -0
- package/dist/core/slack/send-slack-events.js.map +1 -0
- package/dist/core/slack/ship-bot.d.ts +23 -0
- package/dist/core/slack/ship-bot.js +25 -0
- package/dist/core/slack/ship-bot.js.map +1 -0
- package/dist/core/slack/show-all-in-slack.d.ts +16 -0
- package/dist/core/slack/show-all-in-slack.js +18 -0
- package/dist/core/slack/show-all-in-slack.js.map +1 -0
- package/dist/core/slack/show-in-slack.d.ts +38 -0
- package/dist/core/slack/show-in-slack.js +154 -0
- package/dist/core/slack/show-in-slack.js.map +1 -0
- package/dist/core/slack/slack-app.d.ts +77 -0
- package/dist/core/slack/slack-app.js +53 -0
- package/dist/core/slack/slack-app.js.map +1 -0
- package/dist/core/slack/slack-event.d.ts +51 -0
- package/dist/core/slack/slack-event.js +18 -0
- package/dist/core/slack/slack-event.js.map +1 -0
- package/dist/core/slack/slack-link.d.ts +20 -0
- package/dist/core/slack/slack-link.js +2 -0
- package/dist/core/slack/slack-link.js.map +1 -0
- package/dist/core/slack/slack-markdown.d.ts +13 -0
- package/dist/core/slack/slack-markdown.js +27 -0
- package/dist/core/slack/slack-markdown.js.map +1 -0
- package/dist/core/slack/slack-post-of.d.ts +27 -0
- package/dist/core/slack/slack-post-of.js +71 -0
- package/dist/core/slack/slack-post-of.js.map +1 -0
- package/dist/core/slack/slack-post.d.ts +40 -0
- package/dist/core/slack/slack-post.js +13 -0
- package/dist/core/slack/slack-post.js.map +1 -0
- package/dist/core/slack/slack-request.d.ts +17 -0
- package/dist/core/slack/slack-request.js +10 -0
- package/dist/core/slack/slack-request.js.map +1 -0
- package/dist/core/slack/slack-workspace.d.ts +36 -0
- package/dist/core/slack/slack-workspace.js +7 -0
- package/dist/core/slack/slack-workspace.js.map +1 -0
- package/dist/core/slack/start-install.d.ts +43 -0
- package/dist/core/slack/start-install.js +57 -0
- package/dist/core/slack/start-install.js.map +1 -0
- package/dist/core/slack/start-link.d.ts +32 -0
- package/dist/core/slack/start-link.js +46 -0
- package/dist/core/slack/start-link.js.map +1 -0
- package/dist/core/slack/stop-slack-link.d.ts +16 -0
- package/dist/core/slack/stop-slack-link.js +9 -0
- package/dist/core/slack/stop-slack-link.js.map +1 -0
- package/dist/core/slack/take-access-token.d.ts +25 -0
- package/dist/core/slack/take-access-token.js +45 -0
- package/dist/core/slack/take-access-token.js.map +1 -0
- package/dist/core/slack/take-slack-event.d.ts +49 -0
- package/dist/core/slack/take-slack-event.js +81 -0
- package/dist/core/slack/take-slack-event.js.map +1 -0
- package/dist/core/slack/unlink-slack.d.ts +9 -0
- package/dist/core/slack/unlink-slack.js +9 -0
- package/dist/core/slack/unlink-slack.js.map +1 -0
- package/dist/core/vault/credential.d.ts +34 -0
- package/dist/grant-worker.d.ts +20 -0
- package/dist/grant-worker.js +24 -0
- package/dist/grant-worker.js.map +1 -0
- package/dist/slack-event-worker.d.ts +21 -0
- package/dist/slack-event-worker.js +38 -0
- package/dist/slack-event-worker.js.map +1 -0
- package/dist/slack-token-worker.d.ts +19 -0
- package/dist/slack-token-worker.js +24 -0
- package/dist/slack-token-worker.js.map +1 -0
- package/package.json +3 -2
- package/src/adapters/prisma/migrations/20261027090000_slack_workspaces/migration.sql +30 -0
- package/src/adapters/prisma/migrations/20261027150000_slack_bots/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261027200000_slack_links/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261028090000_slack_events/migration.sql +18 -0
- package/src/adapters/prisma/migrations/20261028150000_slack_posts/migration.sql +25 -0
- package/src/adapters/prisma/migrations/20261028230000_party_grants/migration.sql +18 -0
- package/src/adapters/prisma/migrations/20261029080000_party_sign_in_notices/migration.sql +10 -0
- package/src/adapters/prisma/migrations/20261029120000_party_grants_lost/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261029130000_party_grants_refreshed/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261030090000_party_grants_of_account/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261030100000_slack_events_unmatched_answers/migration.sql +2 -0
- package/src/adapters/prisma/schema.prisma +148 -0
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +8 -1
- package/web/.next/build-manifest.json +51 -3
- package/web/.next/diagnostics/route-bundle-stats.json +145 -72
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +67 -3
- package/web/.next/routes-manifest.json +42 -0
- package/web/.next/server/app/(console)/gateway-off/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page.js +6 -6
- package/web/.next/server/app/(console)/gateway-off/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js +6 -6
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page/server-reference-manifest.json +48 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js +8 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/page/server-reference-manifest.json +44 -4
- package/web/.next/server/app/(console)/outside-parties/[name]/page.js +8 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page/server-reference-manifest.json +48 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js +8 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add/page/server-reference-manifest.json +46 -6
- package/web/.next/server/app/(console)/outside-parties/add/page.js +9 -8
- package/web/.next/server/app/(console)/outside-parties/add/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js +7 -7
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js +7 -7
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/page.js +6 -6
- package/web/.next/server/app/(console)/outside-parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/overview/changes/route.js +3 -2
- package/web/.next/server/app/(console)/overview/changes/route.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/focus/route.js +3 -2
- package/web/.next/server/app/(console)/overview/focus/route.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/page/server-reference-manifest.json +27 -7
- package/web/.next/server/app/(console)/overview/page.js +8 -8
- package/web/.next/server/app/(console)/overview/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page.js +6 -6
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/(console)/parties/page.js +7 -7
- package/web/.next/server/app/(console)/parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page.js +6 -6
- package/web/.next/server/app/(console)/sign-in/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/slack/disconnect/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/slack/disconnect/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/slack/disconnect/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/slack/disconnect/page/server-reference-manifest.json +65 -0
- package/web/.next/server/app/(console)/slack/disconnect/page.js +22 -0
- package/web/.next/server/app/(console)/slack/disconnect/page.js.map +5 -0
- package/web/.next/server/app/(console)/slack/disconnect/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/slack/disconnect/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/slack/expose/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/slack/expose/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/slack/expose/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/slack/expose/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/slack/expose/page/server-reference-manifest.json +65 -0
- package/web/.next/server/app/(console)/slack/expose/page.js +22 -0
- package/web/.next/server/app/(console)/slack/expose/page.js.map +5 -0
- package/web/.next/server/app/(console)/slack/expose/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/slack/expose/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/slack/link/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/slack/link/route/build-manifest.json +12 -0
- package/web/.next/server/app/(console)/slack/link/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/(console)/slack/link/route.js +8 -0
- package/web/.next/server/app/(console)/slack/link/route.js.map +5 -0
- package/web/.next/server/app/(console)/slack/link/route.js.nft.json +1 -0
- package/web/.next/server/app/(console)/slack/link/route_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/slack/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/slack/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/slack/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/slack/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/slack/page/server-reference-manifest.json +65 -0
- package/web/.next/server/app/(console)/slack/page.js +22 -0
- package/web/.next/server/app/(console)/slack/page.js.map +5 -0
- package/web/.next/server/app/(console)/slack/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/slack/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/slack/remove/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/slack/remove/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/slack/remove/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/slack/remove/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/slack/remove/page/server-reference-manifest.json +65 -0
- package/web/.next/server/app/(console)/slack/remove/page.js +22 -0
- package/web/.next/server/app/(console)/slack/remove/page.js.map +5 -0
- package/web/.next/server/app/(console)/slack/remove/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/slack/remove/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/_global-error/page.js +1 -1
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js +6 -6
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/apple-icon.png/route/build-manifest.json +12 -0
- package/web/.next/server/app/apple-icon.png/route.js +8 -0
- package/web/.next/server/app/apple-icon.png/route.js.map +5 -0
- package/web/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
- package/web/.next/server/app/apple-icon.png.body +0 -0
- package/web/.next/server/app/apple-icon.png.meta +1 -0
- package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/failed/page.js +5 -5
- package/web/.next/server/app/authorize/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/pick/page.js +4 -4
- package/web/.next/server/app/authorize/pick/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/pick/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page.js +6 -6
- package/web/.next/server/app/authorize/waiting/approval/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/icon.svg/route/build-manifest.json +12 -0
- package/web/.next/server/app/icon.svg/route.js +8 -0
- package/web/.next/server/app/icon.svg/route.js.map +5 -0
- package/web/.next/server/app/icon.svg/route.js.nft.json +1 -0
- package/web/.next/server/app/icon.svg.body +19 -0
- package/web/.next/server/app/icon.svg.meta +1 -0
- package/web/.next/server/app-paths-manifest.json +8 -1
- package/web/.next/server/chunks/[root-of-the-server]__1j0sdz18lzulo._.js +315 -0
- package/web/.next/server/chunks/[root-of-the-server]__1j0sdz18lzulo._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__1o2xxi_001xql._.js +315 -0
- package/web/.next/server/chunks/[root-of-the-server]__1o2xxi_001xql._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__1tfyrijwfgqlk._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__1tfyrijwfgqlk._.js.map +1 -0
- package/web/.next/server/chunks/_0_um96p6psnqx._.js +57 -0
- package/web/.next/server/chunks/_0_um96p6psnqx._.js.map +1 -0
- package/web/.next/server/chunks/_0xw0b7avhvg75._.js +3 -0
- package/web/.next/server/chunks/_0xw0b7avhvg75._.js.map +1 -0
- package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js +3 -0
- package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js.map +1 -0
- package/web/.next/server/chunks/_1xf83h9norhws._.js +57 -0
- package/web/.next/server/chunks/_1xf83h9norhws._.js.map +1 -0
- package/web/.next/server/chunks/_20ne4s-e_jzxp._.js +3 -0
- package/web/.next/server/chunks/_20ne4s-e_jzxp._.js.map +1 -0
- package/web/.next/server/chunks/node_modules_next_1zdbrneapig6o._.js +10 -0
- package/web/.next/server/chunks/node_modules_next_1zdbrneapig6o._.js.map +1 -0
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__03w-pkh4_8jv_._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__03w-pkh4_8jv_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__14w0fxvc_of17._.js → [root-of-the-server]__07ba2bfe20c_p._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07ba2bfe20c_p._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a6a1yc_ac-qt._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a6a1yc_ac-qt._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0-og0bl8lr2xq._.js → [root-of-the-server]__0a8db18tyk__5._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0-og0bl8lr2xq._.js.map → [root-of-the-server]__0a8db18tyk__5._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0fz0817_b9ljl._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0fz0817_b9ljl._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0icm7kndx480o._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0icm7kndx480o._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0pj38h6qumggc._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0pj38h6qumggc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__1gb-3dttuacyz._.js → [root-of-the-server]__0y0jwufd7xjsv._.js} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__1m9atpy0vkbmj._.js → [root-of-the-server]__19ecatcacd6t9._.js} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1aojrh3-9jh9r._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1aojrh3-9jh9r._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__1w5swo8gmjyx6._.js → [root-of-the-server]__1kynqd8xcwg2b._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1kynqd8xcwg2b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__160zc0ja_jjnu._.js → [root-of-the-server]__1q14l5_4hp9h3._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1q14l5_4hp9h3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qnls-4cj-7oh._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qnls-4cj-7oh._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1zlq3zji9v53h._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1zlq3zji9v53h._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0-boiqan2j4tr._.js +3 -0
- package/web/.next/server/chunks/ssr/{_0w2ptjht34s6t._.js.map → _0-boiqan2j4tr._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_03lk54yp-yhw3._.js +1 -1
- package/web/.next/server/chunks/ssr/_03lk54yp-yhw3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0bizyb21i2sl8._.js +3 -0
- package/web/.next/server/chunks/ssr/{_00dg5cvqofspn._.js.map → _0bizyb21i2sl8._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_0eu-76mbv16oa._.js +3 -0
- package/web/.next/server/chunks/ssr/_0eu-76mbv16oa._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1_wav28san6dm._.js +1 -1
- package/web/.next/server/chunks/ssr/_1cnvrfjlqx00k._.js +3 -0
- package/web/.next/server/chunks/ssr/_1cnvrfjlqx00k._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_0bhvvyz0q_0ja._.js → _1e2o809f0ekry._.js} +2 -2
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1yqu7dcxs2-so._.js +3 -0
- package/web/.next/server/chunks/ssr/_1yqu7dcxs2-so._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0ettht2so2tkh._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0ettht2so2tkh._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0keape0zsobyj._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0keape0zsobyj._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_0jlwmxa9rk8p_._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_0jlwmxa9rk8p_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_19e_nxxf4a88q._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_19e_nxxf4a88q._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_1lbvjrzg8s2ox._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_1lbvjrzg8s2ox._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00i8qu9x65r6w.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00i8qu9x65r6w.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_045k03anc7fhh.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_045k03anc7fhh.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a3qpq0qt_bi4.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0a3qpq0qt_bi4.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tpm7qi6un9x2.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tpm7qi6un9x2.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uyk6p-2ofqw3.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0uyk6p-2ofqw3.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0w8e__21f7qvg.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0w8e__21f7qvg.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ynno0usi0bwx.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ynno0usi0bwx.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0za9__u5ytp2s.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0za9__u5ytp2s.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0zyzdu1detzlm.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0zyzdu1detzlm.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11t1sej48_ec4.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11t1sej48_ec4.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18uz1icr303zj.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18uz1icr303zj.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19_qkbe8796m6.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19_qkbe8796m6.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19uoij8es9z19.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19uoij8es9z19.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1auju5fur8z6x.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1auju5fur8z6x.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7_m2ii9lash.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7_m2ii9lash.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1chb4qpzj_l1t.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1chb4qpzj_l1t.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qa52eylhjmki.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qa52eylhjmki.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qw59-auzd_zx.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qw59-auzd_zx.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xzq9xckazj3u.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xzq9xckazj3u.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yis85alzg6hk.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yis85alzg6hk.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_00e7-_y92losl._.js +3 -0
- package/web/.next/server/chunks/ssr/web_00e7-_y92losl._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_09rcfto3dw4wd._.js +3 -0
- package/web/.next/server/chunks/ssr/web_09rcfto3dw4wd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0plvx3c_1cozb._.js +3 -0
- package/web/.next/server/chunks/ssr/web_0plvx3c_1cozb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0qgev3ti257yj._.js +3 -0
- package/web/.next/server/chunks/ssr/{web_0_jk9eione6lx._.js.map → web_0qgev3ti257yj._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_page_tsx_0ts7fo7pqicq6._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_page_tsx_0ts7fo7pqicq6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_remove_page_tsx_15q4ril_on0ed._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_remove_page_tsx_15q4ril_on0ed._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_077oo3gzcibvf._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_077oo3gzcibvf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_08yw0utky5j17._.js +3 -0
- package/web/.next/server/chunks/ssr/{web_features_19v3mlx8c_h1-._.js.map → web_features_08yw0utky5j17._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_0d48z2epb6oie._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_0d48z2epb6oie._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_0f6r-m-dq36vf._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_0f6r-m-dq36vf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_0mi9a9pdzkdji._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_0mi9a9pdzkdji._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_0rd6357w-eo50._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_0rd6357w-eo50._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_19r68thirqv1n._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_19r68thirqv1n._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_1m5g9a6mwrsd-._.js +3 -0
- package/web/.next/server/chunks/ssr/{web_features_085cv0gogrxxf._.js.map → web_features_1m5g9a6mwrsd-._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_1utnezwv0xr-l._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_1utnezwv0xr-l._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_forms_1d1jyea2jni9o._.js → web_features_forms_1muc8tmsxjj_k._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_forms_1d1jyea2jni9o._.js.map → web_features_forms_1muc8tmsxjj_k._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_forms_ui_credential-fields_tsx_0l-w19zg-7x4b._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_forms_ui_credential-fields_tsx_0l-w19zg-7x4b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_1-lre9nfakki7._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_outside-party_1-lre9nfakki7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_144fx4a-r9_wn._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_overview_144fx4a-r9_wn._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_overview_hooks_overview-actions_ts_0-wrat07d1y5g._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_hooks_overview-actions_ts_0-wrat07d1y5g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_00l0wkgvv9y6j._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_overview_state_00l0wkgvv9y6j._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_parties_actions_ts_0r-tbfsig2ty-._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_slack_actions_ts_1l3yg9vl20_vu._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_slack_actions_ts_1l3yg9vl20_vu._.js.map +1 -0
- package/web/.next/server/chunks/web__next-internal_server_app_(console)_slack_link_route_actions_16zgisics858w.js +3 -0
- package/web/.next/server/chunks/web__next-internal_server_app_(console)_slack_link_route_actions_16zgisics858w.js.map +1 -0
- package/web/.next/server/chunks/web__next-internal_server_app_apple-icon_png_route_actions_1yyo-ix0n2rsy.js +3 -0
- package/web/.next/server/chunks/web__next-internal_server_app_apple-icon_png_route_actions_1yyo-ix0n2rsy.js.map +1 -0
- package/web/.next/server/chunks/web__next-internal_server_app_icon_svg_route_actions_0xhoz0ftyz5p3.js +3 -0
- package/web/.next/server/chunks/web__next-internal_server_app_icon_svg_route_actions_0xhoz0ftyz5p3.js.map +1 -0
- package/web/.next/server/middleware-build-manifest.js +51 -3
- package/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/server/next-font-manifest.json +16 -0
- package/web/.next/server/pages/500.html +1 -1
- package/web/.next/server/preview-props.json +3 -3
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +264 -30
- package/web/.next/static/chunks/015ume9uk4hla.js +1 -0
- package/web/.next/static/chunks/0ji7rkz0ll9gh.js +1 -0
- package/web/.next/static/chunks/0nhopjmnw_dqt.js +1 -0
- package/web/.next/static/chunks/0psup8zn8e6k5.js +1 -0
- package/web/.next/static/chunks/0vlawcs6_kjs1.js +1 -0
- package/web/.next/static/chunks/0zbcy0_3jemrv.js +1 -0
- package/web/.next/static/chunks/1s8b8jpg4jai9.js +1 -0
- package/web/.next/static/chunks/20t1nmdiq805b.js +1 -0
- package/web/.next/static/chunks/26vlpatu47xtw.css +3 -0
- package/web/.next/static/chunks/2gghdkr64z9f9.js +1 -0
- package/web/.next/static/chunks/2s_dov6h7kus5.js +1 -0
- package/web/.next/static/chunks/{1jvae6c-4jwji.js → 2x86i673xcv4t.js} +1 -1
- package/web/.next/static/chunks/{1tgs1j0j-1qlh.js → 31-hltzmw_9fi.js} +1 -1
- package/web/.next/static/chunks/35bmc8wm29tr6.js +1 -0
- package/web/.next/static/chunks/3hvo3apdq-ckk.js +1 -0
- package/web/.next/static/chunks/3rxg2mdhxd6yt.js +1 -0
- package/web/.next/static/chunks/42cpzi5s1o44m.js +1 -0
- package/web/.next/static/media/apple-icon.3jccaq3p5-lh-.png +0 -0
- package/web/.next/static/media/icon.0h5hy2etdmq_n.svg +19 -0
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/routes.d.ts +7 -2
- package/web/.next/types/validator.ts +78 -0
- package/web/.next/server/chunks/[root-of-the-server]__0ykc8bq_c06a1._.js +0 -369
- package/web/.next/server/chunks/[root-of-the-server]__0ykc8bq_c06a1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07udzu2zwg_74._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07udzu2zwg_74._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a68v9ynev4q6._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a68v9ynev4q6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0l2_dk9d4o01n._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0l2_dk9d4o01n._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n2us07jk-78w._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n2us07jk-78w._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rr5u24i9tjyc._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rr5u24i9tjyc._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1-c9wugbbwsp3._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1-c9wugbbwsp3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10y66e1xx8xiq._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10y66e1xx8xiq._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__14w0fxvc_of17._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__160zc0ja_jjnu._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dc6okf5os70a._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dc6okf5os70a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dtyycvqa6uht._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dtyycvqa6uht._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1n_sq_58wdluh._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1n_sq_58wdluh._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1w5swo8gmjyx6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_00dg5cvqofspn._.js +0 -3
- package/web/.next/server/chunks/ssr/_0_kakdt7lb6z-._.js +0 -3
- package/web/.next/server/chunks/ssr/_0_kakdt7lb6z-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0w2ptjht34s6t._.js +0 -3
- package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js +0 -3
- package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js +0 -3
- package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_07sxnbglqc5q9._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_07sxnbglqc5q9._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_0qlo87g8tugr4._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_0qlo87g8tugr4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_06etuymo2azrg.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_06etuymo2azrg.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08lcy-jnk5o43.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08lcy-jnk5o43.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bnypafopxsfl.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bnypafopxsfl.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0e8cobt3o_8ur.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0e8cobt3o_8ur.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0gzed-epom5si.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0gzed-epom5si.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0k0-b63ptvbl5.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0k0-b63ptvbl5.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0pik0g65vv-wi.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0pik0g65vv-wi.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xccr6d8xcb1p.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xccr6d8xcb1p.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13agc620bnznv.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13agc620bnznv.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_184-gj4lz41i-.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_184-gj4lz41i-.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18gq8l27vkevg.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18gq8l27vkevg.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1bt2ioufqh6fl.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1bt2ioufqh6fl.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1d613l6zsee_e.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1d613l6zsee_e.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o0-ipfysjmro.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1o0-ipfysjmro.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1x-0vplt44lez.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1x-0vplt44lez.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_0-ufi2al5ubig._.js +0 -3
- package/web/.next/server/chunks/ssr/web_0-ufi2al5ubig._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_0_jk9eione6lx._.js +0 -3
- package/web/.next/server/chunks/ssr/web_1wcpaty_bz55q._.js +0 -3
- package/web/.next/server/chunks/ssr/web_1wcpaty_bz55q._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_085cv0gogrxxf._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0xbnkk4hfgr9v._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0xbnkk4hfgr9v._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0xnlgtw8bfqaa._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0xnlgtw8bfqaa._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_10xz3ojtvfi7h._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_10xz3ojtvfi7h._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_19v3mlx8c_h1-._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1_2m6l73qk7qw._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1_2m6l73qk7qw._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_forms_1u0akr22eh_x_._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_forms_1u0akr22eh_x_._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_0_9c27knfvw7u._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_outside-party_0_9c27knfvw7u._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_1wuk95dw2_whp._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_overview_state_1wuk95dw2_whp._.js.map +0 -1
- package/web/.next/static/chunks/0ke_2_la1glwa.js +0 -1
- package/web/.next/static/chunks/0ul9rtulfiph6.js +0 -1
- package/web/.next/static/chunks/19wvmglfgof0u.js +0 -1
- package/web/.next/static/chunks/1yj875esaesyh.css +0 -3
- package/web/.next/static/chunks/2d283cu3en9cy.js +0 -1
- package/web/.next/static/chunks/2hj3-kl1ggnu_.js +0 -1
- package/web/.next/static/chunks/2i3ydqqupow_x.js +0 -1
- package/web/.next/static/chunks/2n4bf_2r9lysd.js +0 -1
- package/web/.next/static/chunks/2ngyis59r3qta.js +0 -1
- package/web/.next/static/chunks/2riya89_i0je8.js +0 -1
- package/web/.next/static/chunks/3_pwm8b3mf4mf.js +0 -1
- package/web/.next/static/chunks/3bl-e3zhidrrz.js +0 -1
- package/web/.next/static/chunks/3x_8doukmdfpu.js +0 -1
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__1gb-3dttuacyz._.js.map → [root-of-the-server]__0y0jwufd7xjsv._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__1m9atpy0vkbmj._.js.map → [root-of-the-server]__19ecatcacd6t9._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{_0bhvvyz0q_0ja._.js.map → _1e2o809f0ekry._.js.map} +0 -0
- /package/web/.next/static/{tQFXrUWi6vEZq4Cp-U5tk → yf1Q3fTAV4eQiroxoYbih}/_buildManifest.js +0 -0
- /package/web/.next/static/{tQFXrUWi6vEZq4Cp-U5tk → yf1Q3fTAV4eQiroxoYbih}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{tQFXrUWi6vEZq4Cp-U5tk → yf1Q3fTAV4eQiroxoYbih}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { err, ok } from '../shared/result.js';
|
|
2
|
+
import { accessTokenEndsAtOf } from './party-grant.js';
|
|
3
|
+
/** The OAuth error a refresh token the authorization server will not refresh again is refused with (RFC 6749 5.2). */
|
|
4
|
+
const INVALID_GRANT = 'invalid_grant';
|
|
5
|
+
/**
|
|
6
|
+
* Use case: a person's grant is refreshed with its party's client (decision
|
|
7
|
+
* 0067, Q7), one refresh at a time per grant: the grant is held while its
|
|
8
|
+
* refresh runs, and the new tokens are kept before they are used (L19). A
|
|
9
|
+
* grant whose access token is no longer the one asked for was refreshed, or
|
|
10
|
+
* signed in again, meanwhile: it is answered as held, refreshing nothing, so
|
|
11
|
+
* a rotated refresh token is never used twice. A server that issues no new
|
|
12
|
+
* refresh token leaves the one held. A refresh answered `invalid_grant`
|
|
13
|
+
* loses the grant, kept with when and why, and tells the person once (Q5,
|
|
14
|
+
* Q6); any other refusal keeps it as it was.
|
|
15
|
+
*/
|
|
16
|
+
export function createRefreshGrant(deps) {
|
|
17
|
+
return async ({ client, grant }) => {
|
|
18
|
+
let failure;
|
|
19
|
+
const losing = { lost: null };
|
|
20
|
+
const refreshed = async (held) => {
|
|
21
|
+
if (held.lost !== null) {
|
|
22
|
+
failure = { kind: 'lost', lost: held.lost };
|
|
23
|
+
return held;
|
|
24
|
+
}
|
|
25
|
+
if (held.accessToken !== grant.accessToken) {
|
|
26
|
+
return held;
|
|
27
|
+
}
|
|
28
|
+
if (held.refreshToken === null) {
|
|
29
|
+
failure = { kind: 'noRefreshToken' };
|
|
30
|
+
return held;
|
|
31
|
+
}
|
|
32
|
+
const answered = await deps.signIns.refresh(client, held.refreshToken);
|
|
33
|
+
if (!answered.isOk) {
|
|
34
|
+
if (answered.error.kind === 'refused' && answered.error.error === INVALID_GRANT) {
|
|
35
|
+
const lost = { at: deps.clock.now(), why: answered.error.reason };
|
|
36
|
+
failure = { kind: 'lost', lost };
|
|
37
|
+
losing.lost = lost;
|
|
38
|
+
return { ...held, lost };
|
|
39
|
+
}
|
|
40
|
+
failure = answered.error;
|
|
41
|
+
return held;
|
|
42
|
+
}
|
|
43
|
+
const { accessToken, refreshToken, expiresInSeconds } = answered.value;
|
|
44
|
+
const now = deps.clock.now();
|
|
45
|
+
return { ...held, accessToken, refreshToken: refreshToken ?? held.refreshToken, accessTokenEndsAt: accessTokenEndsAtOf(now, expiresInSeconds), refreshedAt: now };
|
|
46
|
+
};
|
|
47
|
+
const kept = await deps.grants.change(grant, refreshed);
|
|
48
|
+
if (kept === undefined) {
|
|
49
|
+
return err({ kind: 'removed' });
|
|
50
|
+
}
|
|
51
|
+
if (losing.lost !== null) {
|
|
52
|
+
// Told once the loss is kept, never while the grant is held.
|
|
53
|
+
await deps.tellSignInNeeded({ fleetId: kept.fleetId, party: kept.party, personShipId: kept.personShipId, lost: losing.lost });
|
|
54
|
+
}
|
|
55
|
+
return failure === undefined ? ok(kept) : err(failure);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=refresh-grant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-grant.js","sourceRoot":"","sources":["../../../src/core/party-grants/refresh-grant.ts"],"names":[],"mappings":"A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,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ShipId } from '@aeolus-fleet/common';
|
|
2
|
+
import type { ApprovingDeps, CheckApproving } from '../parties/check-approving.js';
|
|
3
|
+
import { type DomainError } from '../shared/errors.js';
|
|
4
|
+
import { type Result } from '../shared/result.js';
|
|
5
|
+
import { type ApprovedSignInPartyRefusal } from './approved-sign-in-party.js';
|
|
6
|
+
import type { PartyGrants, PartySignIns } from './ports.js';
|
|
7
|
+
export type RemoveGrant = (input: Parameters<CheckApproving>[0] & {
|
|
8
|
+
personShipId: ShipId;
|
|
9
|
+
}) => Promise<Result<{
|
|
10
|
+
isRevoked: boolean;
|
|
11
|
+
}, ApprovedSignInPartyRefusal | DomainError<'NOT_SIGNED_IN'>>>;
|
|
12
|
+
/**
|
|
13
|
+
* Use case: an actor holding gateway:approve within manage reach of an
|
|
14
|
+
* outside MCP server's proxy ship removes any person's sign-in to it
|
|
15
|
+
* (decision 0067, Q6), so the party is cut off for that person without
|
|
16
|
+
* retiring it. It ends as every grant ends.
|
|
17
|
+
*/
|
|
18
|
+
export declare function createRemoveGrant(deps: ApprovingDeps & {
|
|
19
|
+
grants: Pick<PartyGrants, 'ofPerson' | 'remove'>;
|
|
20
|
+
signIns: Pick<PartySignIns, 'revoke'>;
|
|
21
|
+
}): RemoveGrant;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { refuse } from '../shared/errors.js';
|
|
2
|
+
import { ok } from '../shared/result.js';
|
|
3
|
+
import { approvedSignInParty } from './approved-sign-in-party.js';
|
|
4
|
+
import { endGrant } from './end-grant.js';
|
|
5
|
+
/**
|
|
6
|
+
* Use case: an actor holding gateway:approve within manage reach of an
|
|
7
|
+
* outside MCP server's proxy ship removes any person's sign-in to it
|
|
8
|
+
* (decision 0067, Q6), so the party is cut off for that person without
|
|
9
|
+
* retiring it. It ends as every grant ends.
|
|
10
|
+
*/
|
|
11
|
+
export function createRemoveGrant(deps) {
|
|
12
|
+
return async ({ personShipId, ...asked }) => {
|
|
13
|
+
const approved = await approvedSignInParty(deps, asked);
|
|
14
|
+
if (!approved.isOk) {
|
|
15
|
+
return approved;
|
|
16
|
+
}
|
|
17
|
+
const { name, client } = approved.value;
|
|
18
|
+
const grant = await deps.grants.ofPerson(asked.actor.fleetId, { party: name, personShipId });
|
|
19
|
+
if (grant === undefined) {
|
|
20
|
+
return refuse('NOT_SIGNED_IN', `${personShipId} is not signed in to ${name}`);
|
|
21
|
+
}
|
|
22
|
+
return ok({ isRevoked: await endGrant(deps, { client, grant }) });
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=remove-grant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-grant.js","sourceRoot":"","sources":["../../../src/core/party-grants/remove-grant.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAoB,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAe,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAmC,MAAM,6BAA6B,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAiH;IACjJ,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;QAC1C,MAAM,QAAQ,GAAG,MAAM,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACxD,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnB,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC;QACxC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QAC7F,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,MAAM,CAAC,eAAe,EAAE,GAAG,YAAY,wBAAwB,IAAI,EAAE,CAAC,CAAC;QAChF,CAAC;QACD,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IACpE,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Actor } from '../actors/authenticate-actor.js';
|
|
2
|
+
import { type DomainError } from '../shared/errors.js';
|
|
3
|
+
import { type Result } from '../shared/result.js';
|
|
4
|
+
import type { PartyGrants, PartySignIns, SignInServers } from './ports.js';
|
|
5
|
+
import { type SignInPartyRefusal } from './sign-in-party.js';
|
|
6
|
+
export type RemoveOwnGrant = (input: {
|
|
7
|
+
actor: Actor;
|
|
8
|
+
name: string;
|
|
9
|
+
}) => Promise<Result<{
|
|
10
|
+
isRevoked: boolean;
|
|
11
|
+
}, SignInPartyRefusal | DomainError<'NOT_SIGNED_IN'>>>;
|
|
12
|
+
/** Use case: a person removes their own sign-in to an outside MCP server (decision 0067, Q6), ended as every grant ends. */
|
|
13
|
+
export declare function createRemoveOwnGrant(deps: {
|
|
14
|
+
servers: SignInServers;
|
|
15
|
+
grants: Pick<PartyGrants, 'ofPerson' | 'remove'>;
|
|
16
|
+
signIns: Pick<PartySignIns, 'revoke'>;
|
|
17
|
+
}): RemoveOwnGrant;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { refuse } from '../shared/errors.js';
|
|
2
|
+
import { ok } from '../shared/result.js';
|
|
3
|
+
import { endGrant } from './end-grant.js';
|
|
4
|
+
import { signInPartyOf } from './sign-in-party.js';
|
|
5
|
+
/** Use case: a person removes their own sign-in to an outside MCP server (decision 0067, Q6), ended as every grant ends. */
|
|
6
|
+
export function createRemoveOwnGrant(deps) {
|
|
7
|
+
return async (input) => {
|
|
8
|
+
const signingIn = await signInPartyOf(deps.servers, input);
|
|
9
|
+
if (!signingIn.isOk) {
|
|
10
|
+
return signingIn;
|
|
11
|
+
}
|
|
12
|
+
const { server, client, personShipId } = signingIn.value;
|
|
13
|
+
const grant = await deps.grants.ofPerson(server.fleetId, { party: server.name, personShipId });
|
|
14
|
+
if (grant === undefined) {
|
|
15
|
+
return refuse('NOT_SIGNED_IN', `You are not signed in to ${server.name}`);
|
|
16
|
+
}
|
|
17
|
+
const isRevoked = await endGrant(deps, { client, grant });
|
|
18
|
+
return ok({ isRevoked });
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=remove-own-grant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-own-grant.js","sourceRoot":"","sources":["../../../src/core/party-grants/remove-own-grant.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAoB,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAe,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAI5E,4HAA4H;AAC5H,MAAM,UAAU,oBAAoB,CAAC,IAAyH;IAC5J,OAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QACrB,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAC3D,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YACpB,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC;QACzD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;QAC/F,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,MAAM,CAAC,eAAe,EAAE,4BAA4B,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;QAC5E,CAAC;QACD,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1D,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC;IAC3B,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ShipId } from '@aeolus-fleet/common';
|
|
2
|
+
import type { Actor } from '../actors/authenticate-actor.js';
|
|
3
|
+
import { type DomainError } from '../shared/errors.js';
|
|
4
|
+
import { type Result } from '../shared/result.js';
|
|
5
|
+
import type { SignInClient } from '../vault/credential.js';
|
|
6
|
+
import type { SignInServer, SignInServers } from './ports.js';
|
|
7
|
+
export type SignInPartyRefusal = DomainError<'NOT_A_PERSON' | 'NO_SUCH_PARTY' | 'NO_SIGN_IN'>;
|
|
8
|
+
/** A person acting on their own sign-in to a party, and the party's client. */
|
|
9
|
+
export interface SignInParty {
|
|
10
|
+
readonly server: SignInServer;
|
|
11
|
+
readonly client: SignInClient;
|
|
12
|
+
readonly accountId: string;
|
|
13
|
+
readonly personShipId: ShipId;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The party an account signs in to for itself (decision 0067, Q16): only an
|
|
17
|
+
* account with a person ship in the fleet, and only an outside MCP server
|
|
18
|
+
* where each person signs in.
|
|
19
|
+
*/
|
|
20
|
+
export declare function signInPartyOf(servers: SignInServers, asked: {
|
|
21
|
+
actor: Actor;
|
|
22
|
+
name: string;
|
|
23
|
+
}): Promise<Result<SignInParty, SignInPartyRefusal>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { refuse } from '../shared/errors.js';
|
|
2
|
+
import { ok } from '../shared/result.js';
|
|
3
|
+
/**
|
|
4
|
+
* The party an account signs in to for itself (decision 0067, Q16): only an
|
|
5
|
+
* account with a person ship in the fleet, and only an outside MCP server
|
|
6
|
+
* where each person signs in.
|
|
7
|
+
*/
|
|
8
|
+
export async function signInPartyOf(servers, asked) {
|
|
9
|
+
const { actor, name } = asked;
|
|
10
|
+
if (actor.kind !== 'account' || actor.personShipId === null) {
|
|
11
|
+
return refuse('NOT_A_PERSON', 'Only a person signs in to an outside server, and your account has no person ship in this fleet');
|
|
12
|
+
}
|
|
13
|
+
const server = await servers.find(actor.fleetId, name);
|
|
14
|
+
if (server === undefined) {
|
|
15
|
+
return refuse('NO_SUCH_PARTY', `There is no outside MCP server ${name}`);
|
|
16
|
+
}
|
|
17
|
+
if (server.client === null) {
|
|
18
|
+
return refuse('NO_SIGN_IN', `Nobody signs in to ${name} for themselves: the gateway calls it with its own credential`);
|
|
19
|
+
}
|
|
20
|
+
return ok({ server, client: server.client, accountId: actor.accountId, personShipId: actor.personShipId });
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=sign-in-party.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-in-party.js","sourceRoot":"","sources":["../../../src/core/party-grants/sign-in-party.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAoB,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAe,MAAM,qBAAqB,CAAC;AActD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,OAAsB,EAAE,KAAqC;IAC/F,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC9B,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,YAAY,KAAK,IAAI,EAAE,CAAC;QAC5D,OAAO,MAAM,CAAC,cAAc,EAAE,gGAAgG,CAAC,CAAC;IAClI,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,MAAM,CAAC,eAAe,EAAE,kCAAkC,IAAI,EAAE,CAAC,CAAC;IAC3E,CAAC;IACD,IAAI,MAAM,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QAC3B,OAAO,MAAM,CAAC,YAAY,EAAE,sBAAsB,IAAI,+DAA+D,CAAC,CAAC;IACzH,CAAC;IACD,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC;AAC7G,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Actor } from '../actors/authenticate-actor.js';
|
|
2
|
+
import type { OAuthSecrets } from '../oauth/ports.js';
|
|
3
|
+
import type { Clock } from '../shared/clock.js';
|
|
4
|
+
import { type Result } from '../shared/result.js';
|
|
5
|
+
import type { PartySignIns, PartySignInSeals, SignInServers } from './ports.js';
|
|
6
|
+
import { type SignInPartyRefusal } from './sign-in-party.js';
|
|
7
|
+
/** How long a sign-in the gateway started may take to come back from the outside authorization server. */
|
|
8
|
+
export declare const PARTY_SIGN_IN_MS: number;
|
|
9
|
+
export type StartPartySignInRefusal = SignInPartyRefusal;
|
|
10
|
+
export type StartPartySignIn = (input: {
|
|
11
|
+
actor: Actor;
|
|
12
|
+
name: string;
|
|
13
|
+
}) => Promise<Result<{
|
|
14
|
+
url: string;
|
|
15
|
+
}, StartPartySignInRefusal>>;
|
|
16
|
+
/**
|
|
17
|
+
* Use case: a person presses Sign in on an outside MCP server's page, for
|
|
18
|
+
* themselves (decision 0067, Q16): every account of the fleet with a person
|
|
19
|
+
* ship may. The gateway seals whose sign-in it is and its PKCE verifier into
|
|
20
|
+
* the state, for ten minutes, and sends the person to the party's
|
|
21
|
+
* authorization server under the party's client.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createStartPartySignIn(deps: {
|
|
24
|
+
servers: SignInServers;
|
|
25
|
+
seals: PartySignInSeals;
|
|
26
|
+
signIns: Pick<PartySignIns, 'authorizeUrl'>;
|
|
27
|
+
secrets: Pick<OAuthSecrets, 'newSecret' | 'challengeOf'>;
|
|
28
|
+
clock: Clock;
|
|
29
|
+
/** Where the authorization server sends the person back: the redirect URI the party's client was registered with. */
|
|
30
|
+
redirectUri: string;
|
|
31
|
+
}): StartPartySignIn;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ok } from '../shared/result.js';
|
|
2
|
+
import { signInPartyOf } from './sign-in-party.js';
|
|
3
|
+
/** How long a sign-in the gateway started may take to come back from the outside authorization server. */
|
|
4
|
+
export const PARTY_SIGN_IN_MS = 10 * 60 * 1000;
|
|
5
|
+
/**
|
|
6
|
+
* Use case: a person presses Sign in on an outside MCP server's page, for
|
|
7
|
+
* themselves (decision 0067, Q16): every account of the fleet with a person
|
|
8
|
+
* ship may. The gateway seals whose sign-in it is and its PKCE verifier into
|
|
9
|
+
* the state, for ten minutes, and sends the person to the party's
|
|
10
|
+
* authorization server under the party's client.
|
|
11
|
+
*/
|
|
12
|
+
export function createStartPartySignIn(deps) {
|
|
13
|
+
return async ({ actor, name }) => {
|
|
14
|
+
const signingIn = await signInPartyOf(deps.servers, { actor, name });
|
|
15
|
+
if (!signingIn.isOk) {
|
|
16
|
+
return signingIn;
|
|
17
|
+
}
|
|
18
|
+
const { client, accountId, personShipId } = signingIn.value;
|
|
19
|
+
const verifier = deps.secrets.newSecret();
|
|
20
|
+
const state = deps.seals.seal({
|
|
21
|
+
fleetId: actor.fleetId,
|
|
22
|
+
party: name,
|
|
23
|
+
accountId,
|
|
24
|
+
personShipId,
|
|
25
|
+
verifier,
|
|
26
|
+
expiresAt: new Date(deps.clock.now().getTime() + PARTY_SIGN_IN_MS),
|
|
27
|
+
});
|
|
28
|
+
return ok({ url: deps.signIns.authorizeUrl(client, { state, codeChallenge: deps.secrets.challengeOf(verifier), redirectUri: deps.redirectUri }) });
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=start-party-sign-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-party-sign-in.js","sourceRoot":"","sources":["../../../src/core/party-grants/start-party-sign-in.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAe,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,0GAA0G;AAC1G,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAM/C;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAQtC;IACC,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;QAC/B,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACrE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YACpB,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC;QAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAC5B,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,KAAK,EAAE,IAAI;YACX,SAAS;YACT,YAAY;YACZ,QAAQ;YACR,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,GAAG,gBAAgB,CAAC;SACnE,CAAC,CAAC;QACH,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,CAAC;IACrJ,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { FleetId, ShipId } from '@aeolus-fleet/common';
|
|
2
|
+
import type { ConnectionStore } from '../connection/ports.js';
|
|
3
|
+
import type { CallSender } from '../mcp-in/ports.js';
|
|
4
|
+
import type { GrantLost } from './party-grant.js';
|
|
5
|
+
import type { SignInNotices } from './ports.js';
|
|
6
|
+
/** Tells a person a call needs their sign-in to a party, or that their grant of it was lost, unless they were told since their last sign-in. */
|
|
7
|
+
export type TellSignInNeeded = (input: {
|
|
8
|
+
fleetId: FleetId;
|
|
9
|
+
party: string;
|
|
10
|
+
personShipId: ShipId;
|
|
11
|
+
lost: GrantLost | null;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
/** The page a person signs in to a party on, in a fleet. */
|
|
14
|
+
export type PageUrlOf = (fleetId: FleetId, party: string) => string;
|
|
15
|
+
/**
|
|
16
|
+
* Use case: the gateway's ship tells a person, by a text message to their
|
|
17
|
+
* person ship, that a call needs their sign-in to a party, or that their
|
|
18
|
+
* grant of it was lost, with the page to sign in on (decision 0067, Q6, Q9): once per party, and again only after a
|
|
19
|
+
* sign-in in between closes the notice. The notice's id keys the message, so
|
|
20
|
+
* one the fleet did not answer is sent again at the next call and stored
|
|
21
|
+
* once; one it refused is not tried again.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createTellSignInNeeded(deps: {
|
|
24
|
+
notices: SignInNotices;
|
|
25
|
+
connections: Pick<ConnectionStore, 'find'>;
|
|
26
|
+
sender: CallSender;
|
|
27
|
+
newNoticeId: () => string;
|
|
28
|
+
pageUrlOf: PageUrlOf;
|
|
29
|
+
}): TellSignInNeeded;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function textOf({ party, lost }, pageUrl) {
|
|
2
|
+
return lost === null
|
|
3
|
+
? `A ship of yours called ${party}, which calls under each person's own sign-in, and you are not signed in to it. Sign in on ${pageUrl}; until then your ships' calls to ${party} are refused.`
|
|
4
|
+
: `Your sign-in to ${party} ended: ${party} refused to refresh it (${lost.why}). Sign in again on ${pageUrl}; until then your ships' calls to ${party} are refused.`;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Use case: the gateway's ship tells a person, by a text message to their
|
|
8
|
+
* person ship, that a call needs their sign-in to a party, or that their
|
|
9
|
+
* grant of it was lost, with the page to sign in on (decision 0067, Q6, Q9): once per party, and again only after a
|
|
10
|
+
* sign-in in between closes the notice. The notice's id keys the message, so
|
|
11
|
+
* one the fleet did not answer is sent again at the next call and stored
|
|
12
|
+
* once; one it refused is not tried again.
|
|
13
|
+
*/
|
|
14
|
+
export function createTellSignInNeeded(deps) {
|
|
15
|
+
return async ({ fleetId, party, personShipId, lost }) => {
|
|
16
|
+
const notice = await deps.notices.open(fleetId, { party, personShipId, noticeId: deps.newNoticeId() });
|
|
17
|
+
const gateway = await deps.connections.find(fleetId);
|
|
18
|
+
if (notice.isTold || gateway === undefined) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const sent = await deps.sender.send(gateway.crewToken, { to: personShipId, contentType: 'text/plain', payload: textOf({ party, lost }, deps.pageUrlOf(fleetId, party)), idempotencyKey: `party-sign-in:${notice.noticeId}` });
|
|
22
|
+
if (sent.isOk || sent.error.code !== 'UNAVAILABLE') {
|
|
23
|
+
await deps.notices.markTold(fleetId, { party, personShipId });
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=tell-sign-in-needed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tell-sign-in-needed.js","sourceRoot":"","sources":["../../../src/core/party-grants/tell-sign-in-needed.ts"],"names":[],"mappings":"AAaA,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAA6C,EAAE,OAAe;IACzF,OAAO,IAAI,KAAK,IAAI;QAClB,CAAC,CAAC,0BAA0B,KAAK,8FAA8F,OAAO,qCAAqC,KAAK,eAAe;QAC/L,CAAC,CAAC,mBAAmB,KAAK,WAAW,KAAK,2BAA2B,IAAI,CAAC,GAAG,uBAAuB,OAAO,qCAAqC,KAAK,eAAe,CAAC;AACzK,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAiJ;IACtL,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE;QACtD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;QACvG,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,MAAM,CAAC,MAAM,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC3C,OAAO;QACT,CAAC;QACD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,EAAE,cAAc,EAAE,iBAAiB,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC9N,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;YACnD,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;QAChE,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -196,8 +196,29 @@ export interface OpenedDeliveries {
|
|
|
196
196
|
}
|
|
197
197
|
/** The channels a person may turn on to be woken (wake a person, W1), as a hand-over names them. */
|
|
198
198
|
export type WakeChannelName = 'email' | 'web-push';
|
|
199
|
-
/**
|
|
200
|
-
|
|
199
|
+
/**
|
|
200
|
+
* Outbound port: a place beyond the gateway's pages that shows the person's
|
|
201
|
+
* deliveries itself, as Slack does for a linked person (gateway scopes
|
|
202
|
+
* 9.5): it hands each one it shows, so no channel wakes for it (W3).
|
|
203
|
+
*/
|
|
204
|
+
export interface ShownElsewhere {
|
|
205
|
+
/**
|
|
206
|
+
* Finishes what an earlier wake left unfinished, then shows what it shows
|
|
207
|
+
* of the fresh deliveries: the ones it showed, and whether any is left
|
|
208
|
+
* unfinished, so the wake is tried again.
|
|
209
|
+
*/
|
|
210
|
+
show(ship: PersonShip, wake: {
|
|
211
|
+
crewToken: string;
|
|
212
|
+
fresh: readonly PushedPersonDelivery[];
|
|
213
|
+
}): Promise<Result<ShownThere, FleetRefusal>>;
|
|
214
|
+
}
|
|
215
|
+
/** What a place beyond the pages showed at a wake. */
|
|
216
|
+
export interface ShownThere {
|
|
217
|
+
readonly shown: ReadonlySet<DeliveryId>;
|
|
218
|
+
readonly isAnyUnfinished: boolean;
|
|
219
|
+
}
|
|
220
|
+
/** What a delivery is handed to the person through: a wake's channel, a page of theirs in focus, which shows it (W6), or Slack, which shows it (gateway scopes 9.5). */
|
|
221
|
+
export type HandOverChannel = WakeChannelName | 'page' | 'slack';
|
|
201
222
|
/**
|
|
202
223
|
* Outbound port: one way to wake a person (wake a person, W1, W4): it says
|
|
203
224
|
* only that something waits in the fleet, with the overview's link, and
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FleetRefusal } from "../connection/ports.js";
|
|
2
2
|
import type { Clock } from "../shared/clock.js";
|
|
3
3
|
import { type Result } from "../shared/result.js";
|
|
4
|
-
import type { FocusedPages, PersonShip, PersonShipDoor, WakeChannel, WakeChannelName, WakesSent } from "./ports.js";
|
|
4
|
+
import type { FocusedPages, PersonShip, PersonShipDoor, ShownElsewhere, WakeChannel, WakeChannelName, WakesSent } from "./ports.js";
|
|
5
5
|
/**
|
|
6
6
|
* What a wake came to: nothing left to wake (settled), a wake held back
|
|
7
7
|
* until the earliest window of a channel turned on ends (inWindow), or no
|
|
@@ -33,10 +33,17 @@ export type WakePerson = (ship: PersonShip, crewToken: string) => Promise<Result
|
|
|
33
33
|
* told, as asking again cannot help; while another channel's wake fails and is
|
|
34
34
|
* tried again, that channel is not asked again. While a page of the person is in focus, the page
|
|
35
35
|
* shows what arrives (W6): each fresh delivery is handed through it and no
|
|
36
|
-
* wake goes out.
|
|
36
|
+
* wake goes out. Before all that, a place beyond the pages that shows
|
|
37
|
+
* deliveries itself, as Slack does for a linked person, shows what it
|
|
38
|
+
* shows, even while a page is in focus; nothing wakes for those
|
|
39
|
+
* (gateway scopes 9.5 step 5). It is asked at every wake, fresh deliveries
|
|
40
|
+
* or none, so what it left unfinished is finished, and while anything is
|
|
41
|
+
* left the wake counts as failed, so it is tried again.
|
|
37
42
|
*/
|
|
38
43
|
export declare function createWakePerson(deps: {
|
|
39
44
|
door: Pick<PersonShipDoor, "pushReceive" | "handed">;
|
|
45
|
+
/** Slack, where the person linked it; none where nothing beyond the pages shows deliveries. */
|
|
46
|
+
shownElsewhere?: ShownElsewhere;
|
|
40
47
|
channels: readonly WakeChannel[];
|
|
41
48
|
wakesSent: WakesSent;
|
|
42
49
|
focused: FocusedPages;
|
|
@@ -17,13 +17,45 @@ import { err, ok } from "../shared/result.js";
|
|
|
17
17
|
* told, as asking again cannot help; while another channel's wake fails and is
|
|
18
18
|
* tried again, that channel is not asked again. While a page of the person is in focus, the page
|
|
19
19
|
* shows what arrives (W6): each fresh delivery is handed through it and no
|
|
20
|
-
* wake goes out.
|
|
20
|
+
* wake goes out. Before all that, a place beyond the pages that shows
|
|
21
|
+
* deliveries itself, as Slack does for a linked person, shows what it
|
|
22
|
+
* shows, even while a page is in focus; nothing wakes for those
|
|
23
|
+
* (gateway scopes 9.5 step 5). It is asked at every wake, fresh deliveries
|
|
24
|
+
* or none, so what it left unfinished is finished, and while anything is
|
|
25
|
+
* left the wake counts as failed, so it is tried again.
|
|
21
26
|
*/
|
|
22
27
|
export function createWakePerson(deps) {
|
|
23
28
|
/** Channels that refused for good during an attempt still failing, by person ship: a retry of that attempt does not ask them again. */
|
|
24
29
|
const refusedInAttempt = new Map();
|
|
25
30
|
const attemptKey = (ship) => `${ship.fleetId}/${ship.shipId}`;
|
|
26
31
|
const wakePerson = async (ship, crewToken) => {
|
|
32
|
+
const taken = await deps.door.pushReceive(crewToken, {
|
|
33
|
+
max: RECEIVE_MAX_UPPER_BOUND,
|
|
34
|
+
shouldSkipHanded: true,
|
|
35
|
+
});
|
|
36
|
+
if (!taken.isOk) {
|
|
37
|
+
return taken;
|
|
38
|
+
}
|
|
39
|
+
const everyFresh = taken.value.filter(({ handOverNumber }) => handOverNumber === null);
|
|
40
|
+
// Asked even with nothing fresh: it finishes what an earlier wake left unfinished, as after a restart.
|
|
41
|
+
const shownElsewhere = deps.shownElsewhere === undefined
|
|
42
|
+
? ok({ shown: new Set(), isAnyUnfinished: false })
|
|
43
|
+
: await deps.shownElsewhere.show(ship, { crewToken, fresh: everyFresh });
|
|
44
|
+
if (!shownElsewhere.isOk) {
|
|
45
|
+
return shownElsewhere;
|
|
46
|
+
}
|
|
47
|
+
const { shown, isAnyUnfinished } = shownElsewhere.value;
|
|
48
|
+
const woken = await wakeFor(ship, {
|
|
49
|
+
crewToken,
|
|
50
|
+
allFresh: everyFresh.filter(({ deliveryId }) => !shown.has(deliveryId)),
|
|
51
|
+
});
|
|
52
|
+
// What it left unfinished is finished at a wake tried again.
|
|
53
|
+
return isAnyUnfinished && woken.isOk && woken.value.kind === "settled"
|
|
54
|
+
? ok({ kind: "failed" })
|
|
55
|
+
: woken;
|
|
56
|
+
};
|
|
57
|
+
/** Wakes the person for the fresh deliveries nothing beyond the pages showed. */
|
|
58
|
+
const wakeFor = async (ship, { crewToken, allFresh }) => {
|
|
27
59
|
/** Hands each fresh delivery no. 1 through the channel, up to the first refusal: that refusal, or none. */
|
|
28
60
|
const handEach = async (fresh, channel) => {
|
|
29
61
|
for (const { deliveryId } of fresh) {
|
|
@@ -38,14 +70,6 @@ export function createWakePerson(deps) {
|
|
|
38
70
|
}
|
|
39
71
|
return undefined;
|
|
40
72
|
};
|
|
41
|
-
const taken = await deps.door.pushReceive(crewToken, {
|
|
42
|
-
max: RECEIVE_MAX_UPPER_BOUND,
|
|
43
|
-
shouldSkipHanded: true,
|
|
44
|
-
});
|
|
45
|
-
if (!taken.isOk) {
|
|
46
|
-
return taken;
|
|
47
|
-
}
|
|
48
|
-
const allFresh = taken.value.filter(({ handOverNumber }) => handOverNumber === null);
|
|
49
73
|
if (allFresh.length === 0) {
|
|
50
74
|
return ok({ kind: "settled" });
|
|
51
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wake-person.js","sourceRoot":"","sources":["../../../src/core/people/wake-person.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"wake-person.js","sourceRoot":"","sources":["../../../src/core/people/wake-person.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAmB,MAAM,sBAAsB,CAAC;AAIhF,OAAO,EAAE,GAAG,EAAE,EAAE,EAAe,MAAM,qBAAqB,CAAC;AA4B3D;;;;;;;;;;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SED' | 'OTHER_FLEET' | 'MISSING_SCOPES' | 'SCOPE_REFUSED' | 'NOT_THE_OPERATOR' | 'NOT_AN_ACTOR' | 'NOT_AN_APPROVER' | 'NO_SUCH_REQUEST' | 'ALREADY_DECIDED' | 'EXPIRED' | 'SCOPE_NOT_HELD' | 'SERVER_DETAILS_MISSING' | 'REQUEST_ID_USED' | 'FLEET_UNAVAILABLE' | 'NOT_CONNECTED' | 'PARTY_EXISTS' | 'COMMISSION_REFUSED' | 'NO_SUCH_PARTY' | 'NOT_AWAITING_CREW' | 'NOT_CREWED' | 'SERVER_UNREACHABLE' | 'STATEMENT_REFUSED' | 'INVALID_REDIRECT_URIS' | 'CLIENT_HAS_PARTY' | 'PARTY_NOT_CREWED' | 'NO_SUCH_TOOL' | 'INVALID_ARGUMENTS' | 'NOT_REACHABLE' | 'SEND_REFUSED' | 'NO_SUCH_CALL' | 'NOT_A_PERSON' | 'SIGNED_OUT' | 'NO_SUCH_DELIVERY' | 'NOT_A_NETWORKER' | 'OPEN_NETWORK' | 'OUTSIDE_PARTIES_OFF' | 'INVALID_SERVER_URL' | 'NOT_A_MANAGER' | 'RETIRE_REFUSED' | 'NOT_AN_ACCOUNT' | 'PARTY_NOT_COMMISSIONED' | 'CHANGE_REFUSED' | 'UNKNOWN_ALIAS' | 'PAYLOAD_TOO_LARGE' | 'TASK_NOT_FOUND' | 'TASK_TERMINAL' | 'WEBHOOK_REFUSED' | 'PUSH_CONFIG_NOT_FOUND' | 'CONTEXT_MISMATCH' | 'CARD_UNREACHABLE' | 'CARD_INVALID' | 'NOT_A_MESSAGE' | 'CHANNEL_NOT_OFFERED' | 'INVALID_SUBSCRIPTION' | 'NO_SUCH_MEETING' | 'MIC_REFUSED' | 'SCOPE_NOT_LISTED' | 'CONFLICT';
|
|
3
|
+
export type DomainErrorKind = 'ALREADY_CONNECTED' | 'SECRET_REFUSED' | 'OTHER_FLEET' | 'MISSING_SCOPES' | 'SCOPE_REFUSED' | 'NOT_THE_OPERATOR' | 'NOT_AN_ACTOR' | 'NOT_AN_APPROVER' | 'NO_SUCH_REQUEST' | 'ALREADY_DECIDED' | 'EXPIRED' | 'SCOPE_NOT_HELD' | 'SERVER_DETAILS_MISSING' | 'REQUEST_ID_USED' | 'FLEET_UNAVAILABLE' | 'NOT_CONNECTED' | 'PARTY_EXISTS' | 'COMMISSION_REFUSED' | 'NO_SUCH_PARTY' | 'NOT_AWAITING_CREW' | 'NOT_CREWED' | 'SERVER_UNREACHABLE' | 'NO_AUTHORIZATION_SERVER' | 'SIGN_IN_CHECK_FAILED' | 'NOT_SIGNED_IN' | 'NO_SIGN_IN' | 'SIGN_IN_FAILED' | 'TURNED_AWAY' | 'AUTHORIZATION_SERVER_UNREACHABLE' | 'NO_DYNAMIC_REGISTRATION' | 'REGISTRATION_REFUSED' | 'STATEMENT_REFUSED' | 'INVALID_REDIRECT_URIS' | 'CLIENT_HAS_PARTY' | 'PARTY_NOT_CREWED' | 'NO_SUCH_TOOL' | 'INVALID_ARGUMENTS' | 'NOT_REACHABLE' | 'SEND_REFUSED' | 'NO_SUCH_CALL' | 'NOT_A_PERSON' | 'SIGNED_OUT' | 'NO_SUCH_DELIVERY' | 'NOT_A_NETWORKER' | 'OPEN_NETWORK' | 'OUTSIDE_PARTIES_OFF' | 'INVALID_SERVER_URL' | 'NOT_A_MANAGER' | 'RETIRE_REFUSED' | 'NOT_AN_ACCOUNT' | 'PARTY_NOT_COMMISSIONED' | 'CHANGE_REFUSED' | 'UNKNOWN_ALIAS' | 'PAYLOAD_TOO_LARGE' | 'TASK_NOT_FOUND' | 'TASK_TERMINAL' | 'WEBHOOK_REFUSED' | 'PUSH_CONFIG_NOT_FOUND' | 'CONTEXT_MISMATCH' | 'CARD_UNREACHABLE' | 'CARD_INVALID' | 'NOT_A_MESSAGE' | 'CHANNEL_NOT_OFFERED' | 'INVALID_SUBSCRIPTION' | 'NO_SUCH_MEETING' | 'MIC_REFUSED' | 'SCOPE_NOT_LISTED' | 'SLACK_SCOPE_NOT_HELD' | 'SLACK_NOT_CONNECTED' | 'SLACK_TOKEN_REFUSED' | 'SLACK_UNAVAILABLE' | 'OTHER_WORKSPACE' | 'INSTALL_REFUSED' | 'NOT_EXPOSABLE' | 'NO_SUCH_BOT' | 'LINK_REFUSED' | 'SLACK_USER_LINKED' | 'ACCOUNT_LINKED' | 'NOT_LINKED' | 'CONFLICT';
|
|
4
4
|
/** Why the core refused a request. Adapters map the kind to their own error shape; the message is safe to show. */
|
|
5
5
|
export interface DomainError<K extends DomainErrorKind = DomainErrorKind> {
|
|
6
6
|
readonly kind: K;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/core/shared/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/core/shared/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,MAAM,aAAa,CAAC;AA2F5C,qDAAqD;AACrD,MAAM,UAAU,MAAM,CAA4B,IAAO,EAAE,OAAe;IACxE,OAAO,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -19,10 +19,13 @@ export type StartSignIn = (picked: {
|
|
|
19
19
|
* gateway's own PKCE verifier into the state, and the person is sent to
|
|
20
20
|
* pagasae naming no fleet, so pagasae answers their only fleet or asks
|
|
21
21
|
* which (decision 0054). The browser is given a secret of its own, sealed
|
|
22
|
-
* too, so only it finishes the sign-in.
|
|
22
|
+
* too, so only it finishes the sign-in. The plugin's address signs the
|
|
23
|
+
* person in as themselves only: no one asks for access for a client there
|
|
24
|
+
* (chatgpt-plugin design, 6).
|
|
23
25
|
*/
|
|
24
26
|
export declare function createStartSignIn(deps: {
|
|
25
27
|
readAuthorization: ReadAuthorization;
|
|
28
|
+
pluginResource: string;
|
|
26
29
|
seals: SignInSeals;
|
|
27
30
|
pagasae: Pagasae;
|
|
28
31
|
secrets: OAuthSecrets;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ok } from '../shared/result.js';
|
|
1
|
+
import { err, ok } from '../shared/result.js';
|
|
2
2
|
/** How long a person has to sign in at pagasae and come back. */
|
|
3
3
|
export const SIGN_IN_LIFETIME_MS = 10 * 60_000;
|
|
4
4
|
/**
|
|
@@ -8,7 +8,9 @@ export const SIGN_IN_LIFETIME_MS = 10 * 60_000;
|
|
|
8
8
|
* gateway's own PKCE verifier into the state, and the person is sent to
|
|
9
9
|
* pagasae naming no fleet, so pagasae answers their only fleet or asks
|
|
10
10
|
* which (decision 0054). The browser is given a secret of its own, sealed
|
|
11
|
-
* too, so only it finishes the sign-in.
|
|
11
|
+
* too, so only it finishes the sign-in. The plugin's address signs the
|
|
12
|
+
* person in as themselves only: no one asks for access for a client there
|
|
13
|
+
* (chatgpt-plugin design, 6).
|
|
12
14
|
*/
|
|
13
15
|
export function createStartSignIn(deps) {
|
|
14
16
|
return async ({ request, holder }) => {
|
|
@@ -16,6 +18,10 @@ export function createStartSignIn(deps) {
|
|
|
16
18
|
if (!read.isOk) {
|
|
17
19
|
return read;
|
|
18
20
|
}
|
|
21
|
+
if (holder === 'party' && read.value.resource === deps.pluginResource) {
|
|
22
|
+
const { redirectUri, state } = read.value;
|
|
23
|
+
return err({ kind: 'redirect', redirectUri, error: 'invalid_request', description: 'The plugin address signs in as yourself only', state });
|
|
24
|
+
}
|
|
19
25
|
const verifier = deps.secrets.newSecret();
|
|
20
26
|
const browserSecret = deps.secrets.newSecret();
|
|
21
27
|
const state = deps.seals.seal({ verifier, browserSecret, request, holder, expiresAt: new Date(deps.clock.now().getTime() + SIGN_IN_LIFETIME_MS) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-sign-in.js","sourceRoot":"","sources":["../../../src/core/sign-in/start-sign-in.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,E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EAAE,CAAC,CAAC;QACnJ,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC;IACpI,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type MessageId } from '@aeolus-fleet/common';
|
|
2
|
+
import type { PersonCrews, PersonShipDoor } from '../people/ports.js';
|
|
3
|
+
import type { Clock } from '../shared/clock.js';
|
|
4
|
+
import { type Result } from '../shared/result.js';
|
|
5
|
+
import type { SlackApps, SlackLinks, SlackMessages, SlackPosts, SlackSignatures } from './ports.js';
|
|
6
|
+
import { type SignedRequest } from './slack-request.js';
|
|
7
|
+
export type AnswerInSlack = (press: SignedRequest & {
|
|
8
|
+
appId: string;
|
|
9
|
+
teamId: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
channel: string;
|
|
12
|
+
messageTs: string;
|
|
13
|
+
messageId: MessageId;
|
|
14
|
+
option: number;
|
|
15
|
+
}) => Promise<Result<{
|
|
16
|
+
kind: 'answered' | 'refused' | 'ignored';
|
|
17
|
+
}, {
|
|
18
|
+
kind: 'notSigned';
|
|
19
|
+
}>>;
|
|
20
|
+
/**
|
|
21
|
+
* Use case: the person presses an option's button under a question the
|
|
22
|
+
* gateway posted to them in Slack (gateway scopes 9.5 step 2). Signed as an
|
|
23
|
+
* event is, by the person the question was posted to, the press sends the
|
|
24
|
+
* answer as their person ship, to the question's sender in reply to it,
|
|
25
|
+
* keyed as an answer on the gateway's page is; then the delivery is handled
|
|
26
|
+
* and the question reacted to, as a message core stored is. Core's refusal
|
|
27
|
+
* is said in the question's thread. The press names the question's fleet
|
|
28
|
+
* message, as its button carries it, so a press that comes before the
|
|
29
|
+
* gateway kept the post's Slack message is answered too; the delivery not
|
|
30
|
+
* acknowledged yet, the press, the person's own act, acknowledges it.
|
|
31
|
+
*/
|
|
32
|
+
export declare function createAnswerInSlack(deps: {
|
|
33
|
+
apps: Pick<SlackApps, 'findByAppId'>;
|
|
34
|
+
links: Pick<SlackLinks, 'find'>;
|
|
35
|
+
posts: Pick<SlackPosts, 'ofMessage'>;
|
|
36
|
+
crews: Pick<PersonCrews, 'find'>;
|
|
37
|
+
door: Pick<PersonShipDoor, 'ack' | 'delivery' | 'reply' | 'handled'>;
|
|
38
|
+
slack: Pick<SlackMessages, 'react' | 'postInThread'>;
|
|
39
|
+
signatures: SlackSignatures;
|
|
40
|
+
clock: Clock;
|
|
41
|
+
}): AnswerInSlack;
|