feat(api): provide Workspace and execution API foundations

This commit is contained in:
huanghuoguoguo
2026-10-29 12:45:02 +08:00
parent 31bcd673e7
commit 7295639423
38 changed files with 8099 additions and 1865 deletions
@@ -0,0 +1,9 @@
from langbot.pkg.api.context import ExecutionContext, RequestContext
from langbot.pkg.api.http.context import ExecutionContext as HTTPExecutionContext
from langbot.pkg.api.http.context import RequestContext as HTTPRequestContext
def test_application_context_types_are_http_independent_and_compatibly_reexported():
assert RequestContext is HTTPRequestContext
assert ExecutionContext is HTTPExecutionContext
assert RequestContext.__module__ == 'langbot.pkg.api.context'