smooth-py 0.3.2__tar.gz → 0.3.2.post0.dev20251031__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.
Potentially problematic release.
This version of smooth-py might be problematic. Click here for more details.
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/PKG-INFO +1 -1
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/pyproject.toml +1 -1
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/src/smooth/__init__.py +9 -1
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/README.md +0 -0
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/src/smooth/mcp/__init__.py +0 -0
- {smooth_py-0.3.2 → smooth_py-0.3.2.post0.dev20251031}/src/smooth/mcp/server.py +0 -0
|
@@ -257,6 +257,8 @@ class TaskRequest(BaseModel):
|
|
|
257
257
|
class BrowserSessionRequest(BaseModel):
|
|
258
258
|
"""Request model for creating a browser session."""
|
|
259
259
|
|
|
260
|
+
model_config = ConfigDict(extra="allow")
|
|
261
|
+
|
|
260
262
|
profile_id: str | None = Field(
|
|
261
263
|
default=None,
|
|
262
264
|
description=(
|
|
@@ -319,10 +321,12 @@ class BrowserSessionRequest(BaseModel):
|
|
|
319
321
|
class BrowserSessionResponse(BaseModel):
|
|
320
322
|
"""Browser session response model."""
|
|
321
323
|
|
|
324
|
+
model_config = ConfigDict(extra="allow")
|
|
325
|
+
|
|
322
326
|
profile_id: str = Field(
|
|
323
327
|
description="The ID of the browser profile associated with the opened browser instance."
|
|
324
328
|
)
|
|
325
|
-
live_id: str | None = Field(description="The ID of the live browser session.")
|
|
329
|
+
live_id: str | None = Field(default=None, description="The ID of the live browser session.")
|
|
326
330
|
live_url: str | None = Field(
|
|
327
331
|
default=None, description="The live URL to interact with the browser session."
|
|
328
332
|
)
|
|
@@ -364,6 +368,8 @@ class BrowserSessionResponse(BaseModel):
|
|
|
364
368
|
class BrowserProfilesResponse(BaseModel):
|
|
365
369
|
"""Response model for listing browser profiles."""
|
|
366
370
|
|
|
371
|
+
model_config = ConfigDict(extra="allow")
|
|
372
|
+
|
|
367
373
|
profile_ids: list[str] = Field(description="The IDs of the browser profiles.")
|
|
368
374
|
|
|
369
375
|
@model_validator(mode="before")
|
|
@@ -421,6 +427,8 @@ class BrowserSessionsResponse(BrowserProfilesResponse):
|
|
|
421
427
|
class UploadFileResponse(BaseModel):
|
|
422
428
|
"""Response model for uploading a file."""
|
|
423
429
|
|
|
430
|
+
model_config = ConfigDict(extra="allow")
|
|
431
|
+
|
|
424
432
|
id: str = Field(description="The ID assigned to the uploaded file.")
|
|
425
433
|
|
|
426
434
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|