Add API for externally launching Tangent sessions - #74
Closed
Mbeaulne wants to merge 1 commit into
Closed
Conversation
Mbeaulne
force-pushed
the
session_creation_api
branch
from
August 18, 2026 18:19
ecb04c0 to
1c06626
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.

Summary
closes: https://github.com/Shopify/oasis-frontend/issues/688
Adds an external API for creating a bundle-backed Tangent Shell session and immediately submitting its initial prompt.
External systems such as Quick can call:
Successful requests return:
{ "sessionId": "..." }Implementation
POST /api/session-launchesendpoint.bundleIdandpromptare non-empty strings.Sessionobject or workspace path.Authentication
Authentication remains an ingress responsibility rather than being implemented inside Express.
Quick should call this endpoint through a backend, shim, or Quick Core integration using the provisioned Basic Auth credential and
Cloud-Authheader when required. Shared machine credentials should not be exposed to browser JavaScript.Error responses
400 Bad Request— malformed request or invalid bundle.404 Not Found— requested bundle is not installed.500 Internal Server Error— unexpected provisioning failure.Testing
git diff --checkpass.Related to Shopify/oasis-frontend#688.