#!/usr/bin/env python3.14# -*- coding: utf-8 -*-"""Web shell entry point: `python -m euler_webshell.shell` — what the per-user service's PTY runs."""from__future__importannotationsfromsolver.mainimportmainfromsolver.shell.extensionimportExtensionErrorfromeuler_webshell.shellimportextensionfromeuler_webshell.shellimportosc# noqa: F401 — imported first: takes its key out of the environmentif__name__=='__main__':# pragma: no cover — the PTY's process entrytry:ext=extension()exceptExtensionErrorasexc:raiseSystemExit(f'extension: {exc} — refusing to start')fromNoneraiseSystemExit(main(extension=ext))