Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ All notable changes to **Pipecat Cloud** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Added a `stop` command to `pcc agent` that
allows stopping an ongoing Pipecat Cloud session
- Added a `stop` command to `pcc agent` that allows stopping an ongoing Pipecat
Cloud session.

### Changed

- Fallback `RunnerArguments` now include a `body` field in the base class.

## [0.2.6] - 2025-10-09

Expand Down
16 changes: 9 additions & 7 deletions src/pipecatcloud/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from pipecat.runner.types import (
DailyRunnerArguments,
RunnerArguments,
WebSocketRunnerArguments,
SmallWebRTCRunnerArguments,
WebSocketRunnerArguments,
)

_PIPECAT_RUNNER_TYPES_AVAILABLE = True
Expand All @@ -33,9 +33,10 @@ class RunnerArguments:
will be removed in a future release.
"""

handle_sigint: bool = field(init=False)
handle_sigterm: bool = field(init=False)
pipeline_idle_timeout_secs: int = field(init=False)
handle_sigint: bool = field(init=False, kw_only=True)
handle_sigterm: bool = field(init=False, kw_only=True)
pipeline_idle_timeout_secs: int = field(init=False, kw_only=True)
body: Optional[Any] = field(default_factory=dict, kw_only=True)

def __post_init__(self):
self.handle_sigint = False
Expand All @@ -52,7 +53,6 @@ class DailyRunnerArguments(RunnerArguments):

room_url: str
token: str
body: Any

@dataclass
class WebSocketRunnerArguments(RunnerArguments):
Expand All @@ -63,7 +63,6 @@ class WebSocketRunnerArguments(RunnerArguments):
"""

websocket: WebSocket
body: Any

@dataclass
class SmallWebRTCRunnerArguments(RunnerArguments):
Expand Down Expand Up @@ -112,7 +111,9 @@ class PipecatSessionArguments(RunnerArguments, SessionArguments):
For best compatibility, install: pip install pipecatcloud[pipecat]
"""

body: Any
def __post_init__(self):
RunnerArguments.__post_init__(self)
_warn_standalone_usage()


@dataclass
Expand Down Expand Up @@ -144,6 +145,7 @@ def __post_init__(self):
WebSocketRunnerArguments.__post_init__(self)
_warn_standalone_usage()


@dataclass
class SmallWebRTCSessionArguments(SmallWebRTCRunnerArguments, SessionArguments):
"""SmallWebRTCTransport based agent session arguments.
Expand Down