Repository navigation
Update name in Wrangler configuration file to match deployed Worker - #1
Closed
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
Closed
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
Conversation
Author
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
x402-api | 956972e | Jan 12 2026, 05:37 PM |
cloudflare-workers-and-pages
Bot
force-pushed
the
update_worker_name_to_x402-api
branch
from
January 12, 2026 17:36
1a405b6 to
956972e
Compare
Contributor
|
Closing out - names are correctly matched in envs |
whoabuddy
added a commit
that referenced
this pull request
Feb 17, 2026
Rewrite x402 discovery manifest to comply with V2 protocol spec:
- Add V2-compliant types: V2PaymentRequirements, V2ManifestEntry, V2Manifest
- Replace X402Entry/X402Schema with per-endpoint grouped structure
- Rename generateX402Schema() to generateX402Manifest()
- Use CAIP-2 network format ("stacks:1" / "stacks:2147483648")
- Change maxAmountRequired to amount per V2 spec
- Add baseUrl to GeneratorConfig for full resource URLs
- Group accepts by endpoint instead of flat token array
- Include service metadata wrapper
- Add Bazaar extensions per endpoint
- Add lastUpdated timestamp
- Retain X402InputSchema/X402OutputSchema for Bazaar compatibility
Fixes issues #1-2 from quest tracking:
1. Invalid network format (now CAIP-2)
2. Missing amount field (now uses amount instead of maxAmountRequired)
Related to #40
Co-Authored-By: Claude Opus 4.6 <[email protected]>
whoabuddy
added a commit
that referenced
this pull request
Feb 17, 2026
* feat(x402): implement V2 manifest types and generator
Rewrite x402 discovery manifest to comply with V2 protocol spec:
- Add V2-compliant types: V2PaymentRequirements, V2ManifestEntry, V2Manifest
- Replace X402Entry/X402Schema with per-endpoint grouped structure
- Rename generateX402Schema() to generateX402Manifest()
- Use CAIP-2 network format ("stacks:1" / "stacks:2147483648")
- Change maxAmountRequired to amount per V2 spec
- Add baseUrl to GeneratorConfig for full resource URLs
- Group accepts by endpoint instead of flat token array
- Include service metadata wrapper
- Add Bazaar extensions per endpoint
- Add lastUpdated timestamp
- Retain X402InputSchema/X402OutputSchema for Bazaar compatibility
Fixes issues #1-2 from quest tracking:
1. Invalid network format (now CAIP-2)
2. Missing amount field (now uses amount instead of maxAmountRequired)
Related to #40
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* feat(x402): update route handler to pass baseUrl
Update /x402.json route handler to extract baseUrl from request URL
and pass to generateX402Manifest(). This enables building full resource
URLs (e.g., "https://x402.aibtc.dev/path") instead of relative paths.
Changes:
- Extract baseUrl from c.req.url origin
- Pass baseUrl, serviceName, serviceUrl to generator
- Update import from generateX402Schema to generateX402Manifest
- Rename variable from schema to manifest for clarity
Fixes issue #3 from quest tracking (resource object format).
Related to #40
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* fix(x402): correct V2 manifest resource and Bazaar extension structure
Changes resource field from string to ResourceInfo object (with url, description, mimeType)
and fixes Bazaar extension nesting to match V2 protocol spec. Resolves x402lint validation
warnings for MISSING_RESOURCE and INVALID_BAZAAR_* fields.
- Add ResourceInfo interface matching x402-stacks V2 types
- Update V2ManifestEntry to use ResourceInfo object for resource field
- Fix Bazaar extension type to use inner structure (BazaarExtension["bazaar"])
- Extract .bazaar property when building extensions (matches middleware pattern)
- Add description and mimeType to each manifest entry resource
Validation results:
- x402lint: ✓ Valid (v2) with zero errors
- Remaining warnings: UNKNOWN_NETWORK/ASSET (expected for Stacks testnet)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* refactor(x402): simplify V2 manifest generator
Remove dead legacy types, unused imports, unreachable guards, and
unnecessary config indirection. Behavior unchanged.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 <[email protected]>
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.
The Worker name in your Wrangler configuration file does not match the name of the deployed Worker in the Cloudflare Dashboard.
Cloudflare automatically generated this PR to resolve the mismatch and avoid inconsistencies between environments. For more information, see: https://developers.cloudflare.com/workers/ci-cd/builds/troubleshoot/#workers-name-requirement