ccoding 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ccoding-0.2.3 → ccoding-0.2.4}/PKG-INFO +1 -1
- {ccoding-0.2.3 → ccoding-0.2.4}/pyproject.toml +1 -1
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/remote.py +3 -3
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/remote_server.py +3 -3
- {ccoding-0.2.3 → ccoding-0.2.4}/.github/workflows/publish.yml +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/.gitignore +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/CLAUDE.md +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/LICENSE +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/README.md +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/screenshot.png +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/screenshot_mobile1.jpeg +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/screenshot_mobile2.jpeg +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/__init__.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/__main__.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/api.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/cli.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/config.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/env_schema.json +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/logo.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/remote_cli.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/remote_client.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/remote_common.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/ui.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/__init__.py +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/app.js +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/assets/addon-fit.js +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/assets/xterm-LICENSE +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/assets/xterm-addon-fit-LICENSE +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/assets/xterm.css +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/assets/xterm.js +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/index.html +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/src/ccode/web/style.css +0 -0
- {ccoding-0.2.3 → ccoding-0.2.4}/uv.lock +0 -0
|
@@ -406,11 +406,11 @@ def create_app() -> Any:
|
|
|
406
406
|
|
|
407
407
|
@app.get("/app.js")
|
|
408
408
|
async def app_js() -> Response:
|
|
409
|
-
return Response(asset_text("app.js"), media_type="application/javascript")
|
|
409
|
+
return Response(asset_text("app.js"), media_type="application/javascript", headers={"Cache-Control": "no-store"})
|
|
410
410
|
|
|
411
411
|
@app.get("/style.css")
|
|
412
412
|
async def style_css() -> Response:
|
|
413
|
-
return Response(asset_text("style.css"), media_type="text/css")
|
|
413
|
+
return Response(asset_text("style.css"), media_type="text/css", headers={"Cache-Control": "no-store"})
|
|
414
414
|
|
|
415
415
|
@app.get("/assets/{asset_name}")
|
|
416
416
|
async def web_asset(asset_name: str) -> Response:
|
|
@@ -422,7 +422,7 @@ def create_app() -> Any:
|
|
|
422
422
|
media_type = media_types.get(asset_name)
|
|
423
423
|
if media_type is None:
|
|
424
424
|
return Response(status_code=404)
|
|
425
|
-
return Response(web_asset_text(asset_name), media_type=media_type)
|
|
425
|
+
return Response(web_asset_text(asset_name), media_type=media_type, headers={"Cache-Control": "no-store"})
|
|
426
426
|
|
|
427
427
|
@app.get("/health")
|
|
428
428
|
async def health() -> dict[str, Any]:
|
|
@@ -158,11 +158,11 @@ def create_server_app() -> Any:
|
|
|
158
158
|
|
|
159
159
|
@app.get("/app.js")
|
|
160
160
|
async def app_js() -> Response:
|
|
161
|
-
return Response(asset_text("app.js"), media_type="application/javascript")
|
|
161
|
+
return Response(asset_text("app.js"), media_type="application/javascript", headers={"Cache-Control": "no-store"})
|
|
162
162
|
|
|
163
163
|
@app.get("/style.css")
|
|
164
164
|
async def style_css() -> Response:
|
|
165
|
-
return Response(asset_text("style.css"), media_type="text/css")
|
|
165
|
+
return Response(asset_text("style.css"), media_type="text/css", headers={"Cache-Control": "no-store"})
|
|
166
166
|
|
|
167
167
|
@app.get("/assets/{asset_name}")
|
|
168
168
|
async def web_asset(asset_name: str) -> Response:
|
|
@@ -174,7 +174,7 @@ def create_server_app() -> Any:
|
|
|
174
174
|
media_type = media_types.get(asset_name)
|
|
175
175
|
if media_type is None:
|
|
176
176
|
return Response(status_code=404)
|
|
177
|
-
return Response(web_asset_text(asset_name), media_type=media_type)
|
|
177
|
+
return Response(web_asset_text(asset_name), media_type=media_type, headers={"Cache-Control": "no-store"})
|
|
178
178
|
|
|
179
179
|
@app.get("/health")
|
|
180
180
|
async def health() -> dict[str, Any]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|