Enforce dynamic offer unit types - #930
Open
protocolwhisper wants to merge 1 commit into
Open
Conversation
|
@protocolwhisper is attempting to deploy a commit to the Tempo Team on Vercel. A member of the Team first needs to authorize it. |
protocolwhisper
force-pushed
the
tempvpn-enforce-unit-types-clean
branch
from
August 28, 2026 16:11
fdd5c8d to
f75bf46
Compare
protocolwhisper
force-pushed
the
tempvpn-enforce-unit-types-clean
branch
from
August 28, 2026 16:12
f75bf46 to
fdd5c8d
Compare
protocolwhisper
force-pushed
the
tempvpn-enforce-unit-types-clean
branch
from
August 28, 2026 16:14
fdd5c8d to
518cba9
Compare
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.
Motivation
TempVPN provides temporary WireGuard VPN access through a registry-owned Tempo MPP control plane. Agents can discover eligible exit nodes, buy portable fixed-duration access, or open a separate metered Session v2 stream. This update makes the directory’s dynamic fixed-session metadata unambiguous: the API receives seconds while billing is per minute.
Summary
schemas/services.ts.pnpm generate:discoverysucceeds.pnpm check:typespasses.pnpm buildsucceeds.This PR preserves endpoint-configured
unitTypevalues for dynamic payment offers and updates TempVPN’s hint to:$0.01 per billed minute; send duration_seconds as a positive multiple of 60.Key design considerations
chargefor dynamic fixed-session purchases andsessionfor Session v2 metered streaming.