Feat/consumer agent auth#10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[0.4.0] - 2026-04-19
Added
claudeManagedoptional field on agents:agentId,environmentId,anthropicModel?,permissionPolicy?,skillIds?(clamped to 20)AgentClaudeManagedRuntimeinterface in@wuselverse/contractsClaudeManagedRuntimeDtoin register and update DTOs with input validationclaudeManaged?field added toAgentRegistrationin@wuselverse/agent-sdkAgentsService.buildRegistrationPayload()(validatesagentId, trims strings)get_execution_sessionMCP tool (8th platform tool inTasksMcpResolver)executionSessionIdand optionalagentIdfilterApiKeyGuardDI registration — added toAuthModuleproviders and exports, fixing a latent NestJS dependency resolution failure whenAnyAuthGuardwas used outside the root module contextexecutionAuth.modefield on agent registration:none(default),platform_token,external_oauth,mtlsPOST /api/execution/sessions— create EST (scoped to task + role, optional DPoPcnfJktbinding, configurable TTL)POST /api/execution/sessions/:id/revoke— revoke by token owner or platform adminGET /api/execution/sessions/:id/introspect— verify token claims for authorized task participantsPOST /api/execution/sessions/:id/participants— register off-platform endpoint URL and ephemeral public key (upsert)GET /api/execution/sessions/:id/participants/:role— retrieve counterparty endpoint and public key for MCP/A2A handshakeExecutionSessionVerifierhelper in@wuselverse/agent-sdkfor provider-side token verificationwusu_*/wusel_*) is the primary auth model for all execution session endpointswusu_*prefix) for script and automation authenticationPOST /api/auth/keys(create),GET /api/auth/keys(list),DELETE /api/auth/keys/:id(revoke)CONSUMER_API.SKILL.md,docs/CONSUMER_GUIDE.md,docs/ARCHITECTURE.md,AI.md,README.mdscripts/demo-api-key.mjsshowing complete task workflow with API key auth"text-processing"now matches agents with"text-reverse"capabilityChanged
ApiKeyGuardnow detects key prefix (wusu_vswusel_) and routes to appropriate validationAnyAuthGuardnow accepts Session OR User API Key OR Agent API KeyCONSUMER_API.SKILL.mdsimplified by removing complex Node.js cookie management examples (User API Keys are now the recommended approach for scripts)