b2ec7f9ab3
refactor: extract jupyter protocol, harden error paths, dedup git ops
...
- code_runner: split shared Jupyter message/URL helpers into
`_protocol.py`; surface kernel disconnects and run_code timeouts as
ExecutionError; add gif and plotly MIME types to Result.
- capsule: introduce `_build_http_proxy_url` so HTTP proxy callers
stop munging ws:// URLs; `proxy_url()` now returns http(s).
- _git: collapse `_run` + `_check_result` into `_run_op` across sync
and async Git; drop unused `build_has_upstream`.
- pty: classify unknown msg_types as non-fatal error events instead
of raising ValueError.
- files: add `Transfer-Encoding: chunked` to streaming uploads.
- ci: remove unused Woodpecker check.yml.
- tests: expand unit coverage for code_runner and capsule features.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-20 05:23:38 +06:00
e5e4e1a85b
fix: update SDK for v0.2.0 API compatibility
...
ci/woodpecker/pr/check Pipeline failed
Sync OpenAPI spec to v0.2.0, fix type annotation shadowing by using
builtins.list in annotated signatures, guard poll interval lookup
against None status, and reorder capsule ID assignment to validate
before storing.
2026-05-16 17:57:20 +06:00